Inverted Index
An inverted index is a core data structure used for full-text retrieval, widely applied in search engines and information retrieval systems. Its fundamental principle involves mapping each term in a document collection to the list of documents containing that term, inverting the forward index structure from "document to terms" to "term to documents." Inverted indexes substantially improve keyword search efficiency and serve as a foundational technology for fast full-text search in modern search engines.
Core Facts
Timeline (last 90 days)
Keyword search relies on inverted indexes and ranking algorithms, and the words users enter must match terms in product titles, tags or descriptions; once a need cannot be decomposed into effective keywords, recall drops sharply.
Sparse vector retrieval typically uses an inverted index, where each term maintains a posting list recording the document IDs containing that term and their weights.
The core of a search index is usually an inverted index, which maps each term to a list of documents containing that term (posting list), along with information such as term frequency and positions.
Full-text search typically relies on an inverted index at its core, and MiniSearch adopts this same approach on the browser side, with the index built within the page and kept resident in memory.
Keyword search fails in synonym and translation scenarios because there is no overlap at the letter level, and the inverted index cannot find a match.
Vector retrieval captures semantic relevance rather than literal matching, which is its essential difference from keyword search.
Full-text search typically relies on inverted index technology to achieve millisecond-level retrieval response.
All Facts (9)
Vector retrieval captures semantic relevance rather than literal matching, which is its essential difference from keyword search.
80%Verified关键词搜索基于精确字符匹配无法理解同义词,语义搜索依赖向量嵌入可捕捉语义关联,两者结合的混合检索效果优于单一方法
65%UnverifiedAn inverted index maps terms to the list of documents containing those terms and is the core data structure of full-text search engines.
60%UnverifiedKeyword search relies on inverted indexes and ranking algorithms, and the words users enter must match terms in product titles, tags or descriptions; once a need cannot be decomposed into effective keywords, recall drops sharply.
50%UnverifiedSparse vector retrieval typically uses an inverted index, where each term maintains a posting list recording the document IDs containing that term and their weights.
50%UnverifiedThe core of a search index is usually an inverted index, which maps each term to a list of documents containing that term (posting list), along with information such as term frequency and positions.
50%UnverifiedFull-text search typically relies on an inverted index at its core, and MiniSearch adopts this same approach on the browser side, with the index built within the page and kept resident in memory.
50%UnverifiedKeyword search fails in synonym and translation scenarios because there is no overlap at the letter level, and the inverted index cannot find a match.
50%UnverifiedFull-text search typically relies on inverted index technology to achieve millisecond-level retrieval response.
50%