O'Reilly logo

Learning Elastic Stack 6.0 by Sharath Kumar M N, Pranav Shukla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Elasticsearch query string

This provides the ability to perform various types of searches ranging from simple to complex queries that adhere to Lucene query syntax. Let's see some examples:

Free Text search: To search for text present in any of the fields, simply enter a text string in the query bar:

When you enter a group of words to search for, as long as the document contains any of the words or all or part of the words in any order, the document is included in search result.

If you are doing an exact phrase search, that is, the documents should contain all the words given the search criteria, and the words should be in same order, then ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required