Predefined boost scores

Hi

I found the documentation which says one should use boost queries to enable boosting. But is there a way to specify the boost scores inside the index so that the clients don't have to specify on each call ?

Hi, Venkatram.
Check out the script score query to boost based on arbitrary properties of documents.

1 Like

Hi Thankyou

I think this may be what I was looking for. I haven't tested it yet.

https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-boost.html

1 Like

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