In ES 2.x/1.x, we can disable field length norm for a field as follows:
"MyField" : {
"type" : "text",
"norms" : {
"enabled" : false
}
}
Since ES 5.x use BM25 by default, is above setting still work for ES 5.2?
I am asking this question is because, per https://www.elastic.co/guide/en/elasticsearch/reference/current/norms.html
"Norms store various normalization factors that are later used at query time in order to compute the score of a document relatively to a query."
It does not mention "field length" in statement. Whereas in ES 2.x doc:
https://www.elastic.co/guide/en/elasticsearch/reference/2.0/norms.html
It clearly mentions field length in statement.
So I just want to confirm whether disable norm in ES 5.x is same as it in ES 2.x?