liveBook · Manning

Information retrieval

As explained in Elasticsearch in Action, Second Edition

Searching textual content using tokenization, matching, relevance scoring, or related linguistic analysis.

Information retrieval finds relevant content for a user or application. Elasticsearch supports search across varied providers such as Slack, Confluence, and Google Drive, and can back web, mobile, or server-side applications. section 1.4.1

Retrieval begins when analyzed data is stored in Elasticsearch. A search query is analyzed similarly to the indexed field, tokenized and normalized, then matched against the inverted index to return results. section 3.1.3

Useful retrieval capabilities include:

  • Match more than exact words by handling root words, synonyms, and spelling mistakes through advanced full-text queries. section 3.1.3
  • Issue queries through REST APIs over HTTP, using Kibana as a visual editor or another REST-capable client. section 2.0
  • Retrieve matching documents separately from analytical queries, which gather summarized statistics. section 3.1.3

Analyzer-consistent search

Suppose a field uses a French analyzer. Elasticsearch applies that same analyzer when searching the field, so query tokens are normalized consistently with the tokens stored in the inverted index. section 3.1.3

Figure 1.2 Core application areas of Elastic, the company behind Elasticsearch

Use the figure to place search alongside observability and security as major Elasticsearch application areas. section 1.4.1

How Elasticsearch in Action, Second Edition covers it

How deep it goes
Explains analysis, tokenization, normalization, and inverted-index matching, while deferring detailed query construction.
Examples
Uses enterprise content providers, application search, French analyzers, root words, synonyms, and spelling mistakes as examples.
What it assumes
Assumes running Elasticsearch and Kibana with analyzed data loaded before executing search queries.
What you can do after
Operate retrieval through Kibana or REST clients to execute queries and return matching data from Elasticsearch.
How it connects
Connects search with full-text queries, analyzers, tokenization, inverted indexes, analytics, and Kibana.

Also explained in

Compare how 11 books explain information retrieval →

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.