Use of indexes for multi-word queries in full-text search (e.g. web search)
As you said some-word -> [doc385, doc211, doc39977, …] (sorted by rank, descending), I think the search engine may not do this, the doc list should be sorted by doc ID, each doc has a rank according to the word. When a query comes, it contains several keywords. For each word, you can find a … Read more