Menu

📰
0

Reddit - Please wait for verification

Reading 0:00
15s threshold

There are very compelling reasons to use a full-text search based on an inverted index and a relevancy scoring model. In my experience, the best reason is when you're actually trying to perform a Search function and expect the first result to be the most relevant. That is exactly why search engines were built, and I'll assume that's your main use case. Secondly, the inverted index may be superior to classic database indexes in some cases, but remember that it's not its primary purpose. For the remainder of this article, we'll use "search" and "query" this way: "Search" means to retrieve and return information ranked by relevancy (the most important concept here). The first document returned is the most relevant, and subsequent search results are less and less relevant according to the relevancy algorithm/score.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More