Full-text search allows searching the full text of documents for exact matches or substrings of search terms. It examines all words in every stored document to match search criteria. A common full-text search technique uses an inverted index to map terms to their locations in documents, allowing fast searching in O(m) time where m is the length of the search query. Updating an inverted index is challenging as it is optimized for reads and requires rewriting segments on changes.
Related topics: