Learning Elastic Stack 7.0(Second Edition)
上QQ阅读APP看书,第一时间看更新

Multi match query

The multi_match query is an extension of the match query. The multi_match query allows us to run the match query across multiple fields, and also allows many options to calculate the overall score of the documents.

The multi_match query can be used with different options. We will look at the following options:

  • Querying multiple fields with defaults
  • Boosting one or more fields
  • With types of multi_match queries

Let's look at each option, one by one.