Mar 9 · 13 min read · TLDR: Lucene is a search library. Its core innovation is the inverted index — a reverse map from words to documents, like the index at the back of a textbook. Documents are stored in immutable segments that Lucene merges in the background to keep que...
Join discussionJan 12 · 4 min read · What Is an Inverted Index? (Explained Like You’re Not an Engineer) Imagine a book. At the end of the book, there’s an index: Apple → Page 5, 12Banana → Page 3Carrot → Page 7, 12 Instead of listing pages and their words, the index lists words and thei...
Join discussion