How Lucene works
The primary role played by Lucene is to support search requirements in an application. While an application may implement an end-to-end use case, searching may need some very specialized capability, which can be provided by Lucene.
The basic unit of operation for Lucene is information stored as a document. While the information may be captured by external mechanisms, the information is stored as a Lucene Document. The primary motive to keep information/content in a document is to keep the information/content in a format that can be easily interpreted by the Lucene engine.
Once the document is created and stored, the document is analyzed based on the schema/mapping provided, wherein the Lucene engine determines what is to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access