The Implications of Facebook Indexing a Trillion Posts
techcrunch.com
The Implications of Facebook Indexing a Trillion Posts
1–10 of 33 posts
Re: The Implications of Facebook Indexing a Trillion Posts
#2I was pretty sure Facebook was already doing this, even before the public search. No?
Re: The Implications of Facebook Indexing a Trillion Posts
#3Maybe they partition the graph into cliques which they index, search and then fix up with a second pass to add and remove noncliqued friends?
Re: The Implications of Facebook Indexing a Trillion Posts
#4I'm pretty interested in how this is implemented, actually. Naively you could search a global index and then filter results down to your friends, but that filter seems impossibly slow. Alternatively you could maintain a separate index per person, but querying 500 indexes seems unreasonable. Maybe they partition the graph into cliques which they index, search and then fix up with a second pass to add and remove noncli…
Re: The Implications of Facebook Indexing a Trillion Posts
#5Re: The Implications of Facebook Indexing a Trillion Posts
#6I'm pretty interested in how this is implemented, actually. Naively you could search a global index and then filter results down to your friends, but that filter seems impossibly slow. Alternatively you could maintain a separate index per person, but querying 500 indexes seems unreasonable. Maybe they partition the graph into cliques which they index, search and then fix up with a second pass to add and remove noncli…
You could build an index per person, but rather than search 500 indexes, the index of each person would be of all their and their friends' posts, so you would only search one index.
Off-topic: Wasn't there a start-up a while back that was allowing people to build their own personal search index for their social media content?
Re: The Implications of Facebook Indexing a Trillion Posts
#7Earlier quoted context omitted.
You could build an index per person, but rather than search 500 indexes, the index of each person would be of all their and their friends' posts, so you would only search one index.
Doesn't that make updating rather expensive - for each new post it needs to go into a lot of different search indexes? Off-topic: Wasn't there a start-up a while back that was allowing people to build their own personal search index for their social media content?
Re: The Implications of Facebook Indexing a Trillion Posts
#8I'm pretty interested in how this is implemented, actually. Naively you could search a global index and then filter results down to your friends, but that filter seems impossibly slow. Alternatively you could maintain a separate index per person, but querying 500 indexes seems unreasonable. Maybe they partition the graph into cliques which they index, search and then fix up with a second pass to add and remove noncli…
Edit: I don't think Twitter do nearly the same filtering with this and their social graph so maybe not as close as I first thought.
Re: The Implications of Facebook Indexing a Trillion Posts
#9Re: The Implications of Facebook Indexing a Trillion Posts
#10And all of this is brought to you by the friendly folks of PHP. Next time when you bash PHP because the argument order for functions is inconsistent, think about how some people overlook semantics and build great things with the tools they have at their disposal.