
What is in a Lucene index? Adrien Grand, Software Engineer, Elasticsearch
About this video
Elasticsearch engineer and Lucene committer Adrien Grand explains the design decisions inside a Lucene index and what problems it can and cannot solve. The talk goes into how Lucene stores data for fast search and analytics.
Why it appears in the archive
HN recommends it as an instructive, easy-to-follow look at Lucene internals from a core committer.
AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.
From the Hacker News discussion
I can super highly recommend talks by Adrien Grand on Lucene and Elasticsearch. They are super instructive yet easy to follow. [VIDEO] [LINK]
Read original comment ↗This is extremely high level. A nice view of how lucene internals work by core committer Adrien Grand: [LINK] [VIDEO]
Read original comment ↗This is excellent. I was recently reviewing Lucene concepts and found this video really good: [VIDEO] Also this site has a series of Lucene articles that are pretty nice. The one on Term Vectors in particular: [LINK] Based on some quick research it seems like Lucene is already using a sorted skip data structure for the posting list, so I wonder why they had to do a custom implementation? Perhaps it has to do with their custom Document ID scheme and how they want to preserve order in the Posting List being different from the default behavior. It also sounds like searchers are searching on indexes as they're being written, and there is some custom coordination around visibility, which might require diverging from Lucene default behavior. Either way, pretty impressive!
Read original comment ↗