10 Full-text searches

This chapter covers

  • Overview of full-text queries
  • Working through match queries
  • Looking at match phrases, multi-match, and other queries
  • Looking at query strings and simple query string queries

In the last chapter, we looked at term-level searching, the mechanism we use to search structured data. Although a structured data search is important, the power of modern search engines vests efficiently and effectively to run when we search unstructured data. Elasticsearch is one such modern search engine that stands as a front-runner in searching unstructured data with relevance.

Elasticsearch provides the capability to search unstructured data through full-text search queries. A full-text search is all about relevancy: fetching ...

Get Elasticsearch in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.