Question on boost mapping type


(Data Junkie) #1

I was going through the documentation for boolean datatype and I saw that boost is an allowed parameter for boolean. However, when I go to boost documentation, Index time boost is deprecated and query time boost is recommended. Can you please clarify if the boost in mapping definition of the field has any significance?

Thanks
Jagan K


(Thiago Souza) #2

Can you please link the documentation that you are referring to?


(Data Junkie) #3

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

boolean datatype link - https://www.elastic.co/guide/en/elasticsearch/reference/current/boolean.html


(Thiago Souza) #4

As of version 5.x the boost field in the mapping will be used for query time boosting instead of index time boosting. This means that, when a document is indexed, the boost field is ignored and when the index is queried using the field then the boost field is used for boosting.


(system) #5

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