Query and boost fields

Hi there,

i have a question about boosting.
What is the difference between this type of boosting "boost": 2 explained here: Elastic Docu
and this type with circumflex: somefield^2

Regards,
Ahmet

Nothing :slight_smile:

The circumflex syntax is just how boosting is applied in query_string, multi_match and a few other queries, to allow "inline" boosting. It's required because query_string allows specifying multiple fields in the query string, and you may want to boost them independently.

Internally it's the same boost mechanics as a boost parameter.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.