May be using function_score? http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#_using_function_score
The new score can be restricted to not exceed a certain limit by setting the max_boostparameter. The default for max_boost is FLT_MAX. -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 27 mai 2014 à 13:34:26, [email protected] ([email protected]) a écrit: Hello, is it possible to normalize the scores of a query so that the highest scoring document gets a score of 1 and the others a scaled score < 1? Thanks -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/281e7890-01f1-4bcf-bc0f-7a2c95e407be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.538478e9.235ba861.1e56%40MacBook-Air-de-David.local. For more options, visit https://groups.google.com/d/optout.
