Similarity: set queryNorm and coord fields to 1.0


(nicolas) #1

I would like to overwrite the fields queryNorm, QueryCoord to get cleaner
score

and thus set queryNorm =1. 0 and coord = 1.0

in the similarity module page
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-similarity.html#default-base

it is explained:

By default, Elasticsearch will use whatever similarity is configured as
default. However, the similarity functions queryNorm() and coord() are not
per-field. Consequently, for expert users wanting to change the
implementation used for these two methods, while not changing the default,
it is possible to configure a similarity with the name base. This
similarity will then be used for the two methods.

so but I dont get it. How to do to get queryNorm =1. 0 and coord = 1.0

Nicolas

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/76a97df6-17d4-4035-991a-fc4670c3e176%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2