The query string keyword

There are two sub-types of query string keywords, query_string and simple_query_string. They use different parsers to process the query string. The syntax of the parser is quite different. If the query string is not suitable for the grammar, the parser of query_string will throw an exception, while the parser of simple_query_string will discard the invalid part and continue the process. Both parsers will split the query string with the operators and then, for each group, it splits the field and its value:

  • query_string query: The syntax of the query string is described in the following table. If no field is specified in the query string, the setting, index.query.default_field, is used:
The reserved characters ...

Get Advanced Elasticsearch 7.0 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.