← Questions
Design search over user posts with boolean queries
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Design search over users' status posts on a large social network. Queries combine words with AND and OR (for example cats AND (dogs OR birds)), and new posts should become searchable quickly.
Cover the inverted index and how boolean queries run against it, sharding the index, ingesting new posts, ranking or ordering results, pagination, and scaling to billions of posts.
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing
