liveBook · Manning

Lucene

As explained in Elasticsearch in Action, Second Edition

Apache Lucene is an open-source Java library for information retrieval and full-text search.

Apache Lucene is an open-source Java library for full-text search. Applications import it and integrate with it through programming interfaces rather than running it as a complete search application. section 1.3.2 section 3.1

Lucene supplies the search foundation for several widely used engines:

  • Elasticsearch wraps Lucene as its core full-text search library and adds a distributed, scalable server-side application. section 3.1
  • Apache Solr is an open-source search engine built on Lucene. section 1.3.2
  • OpenSearch is included among search engines built on Apache Lucene. section 1.3.2

Choosing the integration level

A team building full-text search can integrate Lucene directly through its APIs, or use Elasticsearch, which exposes Lucene-backed search through a language-agnostic server and RESTful interfaces. section 1.3.2 section 1.7

How Elasticsearch in Action, Second Edition covers it

How deep it goes
Defines a Java full-text search library and API-based integration, without detailing indexing internals.
Examples
Uses Elasticsearch, Solr, and OpenSearch as examples of search engines built on Lucene.
What you can do after
Evaluate whether to integrate Lucene directly or use a search engine that wraps it.
How it connects
Connects full-text search and indexing with Elasticsearch, Solr, and OpenSearch.

Also explained in

Compare how 3 books explain Lucene →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Elasticsearch in Action, Second Edition. The section links point to the parts of the book it draws on.