Search Engine Land
  • SEO
    • > All SEO
    • > What Is SEO?
    • > SEO Periodic Table
    • > Google: SEO
    • > Bing SEO
    • > Google Algorithm Updates
  • PPC
    • > All PPC
    • > What is PPC?
    • > Google Ads
    • > Microsoft Ads
    • > The Periodic Tables of PPC
  • Focuses
    • > Local
    • > Commerce
    • > Shopify SEO Guide
    • > Content
    • > Email Marketing Periodic Table
    • > Social Media Marketing
    • > Analytics
    • > Search Engine Land Awards
    • > All Focuses
  • SMX
  • Webinars
  • Intelligence Reports
  • White Papers
  • About
    • > About Search Engine Land
    • > Newsletter
    • > Third Door Media
    • > Advertise

Processing...Please wait.

Search Engine Land » Facebook » Reddit AMA Reveals Graph Search Has Been In The Works Since Early 2011 & Specs On How It Works

Reddit AMA Reveals Graph Search Has Been In The Works Since Early 2011 & Specs On How It Works

Last Friday, Lars Rasmussen, Facebook’s Director of Engineering, did an AMA (ask me anything) on Reddit to discuss the ins-and-outs of Graph Search. Lars answered 20 questions from fellow Redditors shedding some light on the history, importance and technology behind Graph Search. According to Lars, the initial Graph Search was internally launched in Summer of […]

Greg Finn on February 18, 2013 at 6:21 pm

Last Friday, Lars Rasmussen, Facebook’s Director of Engineering, did an AMA (ask me anything) on Reddit to discuss the ins-and-outs of Graph Search. Lars answered 20 questions from fellow Redditors shedding some light on the history, importance and technology behind Graph Search.

Reddit-AMA

According to Lars, the initial Graph Search was internally launched in Summer of 2011, but the project was conceptualized in Spring 2011, on a walk with Mark Zuckerberg. The initial project was bare bones, and the internal beta  for Facebook employees wasn’t released until Fall of last year.

The technology stack used in Graph Search is in inverted-index system titled ‘Unicorn.” Nodes are selected within Unicorn based on edge-relationships to other nodes according to Rassmussen. Search indices are build on Hadoop and only span to the level of Friends, but “Friends -of-Friends” searching is possible. Here are his detailed answers on the technology stack and query languages in Graph Search.

In answering a question about beta length and slow rollouts, Rassmussen stated that one of the reasons that Graph Search rolled out so slowly was due to privacy.  He stated:

This is one of the reasons we are rolling Graph Search out slowly. Back in December we launched a series of tools for everyone to more easily audit their own content, and content others have shared about them. We want to give everyone a chance to use those tools before rolling our Graph Search more broadly.

Getting privacy right for Graph Search was an enormous effort in itself and we take people’s concern and feedback on the matter very seriously.

The biggest challenges? Rasmussen stated that scaling the search index, building the natural language parser and finding the optimal order of results were among the most troubling tasks. He also conceded that Graph Search was still “a bit imprecise with tenses” and hinted that more precise interpretation may be coming soon.

One Redditor asked Lars for the EIL5 version (Explain It Like I’m 5). Well, Lars was a smarter 5th grader than I. His simple version of how Graph Search works is as follows:

At the core of the system sits a Context-Free Grammar (http://en.wikipedia.org/wiki/Context-free_grammar) describing all the queries the system can understand. The grammar in general contains many different ways of expressing the same question.

As a user types in the search field, a Parser (http://en.wikipedia.org/wiki/Parsing) attempts to find the queries from the grammar that most closely matches what the user has typed, and displays those as suggestions in a drop-down below the search field.

Part of the parsing involves searching for people and entities. For example, if I search for ‘photos of jane doe’ the parser needs to figure out which Jane Doe I am looking for. When in doubt, we tend of course to pick the Jane who has the most friends in common with me, went to my school, works for my employer, etc. This part of the parser is essentially Facebook’s existing ‘typeahead’ search system.

When the user clicks one of the suggested queries, we proceed to resolve the corresponding semantic (see my answer). There are three steps to this part: 1) we retrive (sic) candidate answers from an inverted index (http://en.wikipedia.org/wiki/Inverted_index), then we 2) filter out anything the searcher does not have access to, and finally we 3) order them according to a great many criteria in the way we think is most interesting to the searcher.

Lastly, we display the results. You’ll note that we take great care to list by each result why we think they are a good result. For example, of you ask for ‘Friends of Facebook employees’ we might place a snippet of text like ‘Friends with Mark Zuckerberg and other Facebook employees’ next to a result. ‘Other Facebook Employees’ is typically a link that we issue a new query for all the Facebook employees who are friends with that given result. (I looooove these snippets and consider them the unsung heroes of Graph Search :)

Though Lars did share quite about on the process, technology and importance of Graph Search, he failed to answer some questions that marketers were closely watching. Some of the noticeable non-answered questions with numerous upvotes included:

  • What advertising opportunities will be available around Graph Search?
  • When can we expect our off Facebook likes to be included in Graph Search?
  • Which parts of Facebooks EdgeRank algorithm were most important when building Graph Search in order to get relevant search results?
  • How long will we have to wait for an API? How are the results ranked? By affinity, by clicks? Will Graph Search ever support searching for posts?

Head over to Reddit to view the entire AMA if you’re looking for more.


New on Search Engine Land

    Google search results spam for ‘Bill Slawski obituary’ shows the dark side of SEO

    New mobile Google ad experiment puts favicon in-line with display URL

    Google launches video health tools to help publisher monetization

    SEO pioneer and expert Bill Slawski passes away

    New Yelp feature: Request a Call

About The Author

Greg Finn
Greg Finn is the Director of Marketing for Cypress North, a company that provides digital marketing and web development. He is a co-host of Marketing O'Clock and has been in the digital marketing industry for nearly 20 years. You can also find Greg on Twitter (@gregfinn) or LinkedIn.

Related Topics

Facebook

Get the daily newsletter search marketers rely on.

Processing...Please wait.

See terms.

ATTEND OUR EVENTS

Learn actionable search marketing tactics that can help you drive more traffic, leads, and revenue.

March 8-9, 2022: Master Classes (virtual)

June 14-15, 2022: SMX Advanced (virtual)

November 15-16, 2022: SMX Next (virtual)

Learn More About Our SMX Events

Discover time-saving technologies and actionable tactics that can help you overcome crucial marketing challenges.

Start Discovering Now: Spring (virtual)

September 28-29, 2022: Fall (virtual)

Learn More About Our MarTech Events

Webinars

Take a Crawl, Walk, Run Approach to Multi-Channel ABM

Content Comes First: Transform Your Operations With DAM

Dominate Your Competition with Google Auction Insights and Search Intelligence

See More Webinars

Intelligence Reports

Enterprise SEO Platforms: A Marketer’s Guide

Enterprise Identity Resolution Platforms

Email Marketing Platforms: A Marketer’s Guide

Enterprise Sales Enablement Platforms: A Marketer’s Guide

Enterprise Digital Experience Platforms: A Marketer’s Guide

Enterprise Call Analytics Platforms: A Marketer’s Guide

See More Intelligence Reports

White Papers

Reputation Management For Healthcare Organizations

Unlock the App Marketing Potential of QR Codes

Realising the power of virtual events for demand generation

The Progressive Marketer’s Ultimate Events Strategy 2022 Worksheet

CMO Guide: How to Plan Smart and Pivot Fast

See More Whitepapers

Receive daily search news and analysis.

Processing...Please wait.

Topics

  • SEO
  • PPC

Our Events

  • Search Marketing Expo - SMX
  • MarTech

About

  • About Us
  • Contact
  • Privacy
  • Marketing Opportunities
  • Staff

Follow Us

  • Facebook
  • Twitter
  • LinkedIn
  • Newsletters
  • RSS
  • Youtube

© 2022 Third Door Media, Inc. All rights reserved.