An inverted index is a core database index structure used in information retrieval that maps each unique term or token from a corpus to a list of documents (and often the specific positions within those documents) where that term appears. This inversion of the typical document-to-terms relationship enables extremely fast full-text search queries, as the system can instantly locate all documents containing a query term without scanning every document. It is the fundamental engine behind search engines and is a critical component in hybrid search architectures that combine it with dense vector retrieval.
