Query and boost fields

(Ammo) #1

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


(Zachary Tong) #2

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.

(system) #3

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