Sadly, this doesn't work, as max_boost only cuts the scores off at that point.
Am Dienstag, 27. Mai 2014 13:37:22 UTC+2 schrieb David Pilato: > > 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 <https://twitter.com/dadoonet> | > @elasticsearchfr<https://twitter.com/elasticsearchfr> > > > Le 27 mai 2014 à 13:34:26, [email protected] <javascript:> ( > [email protected] <javascript:>) 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] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/281e7890-01f1-4bcf-bc0f-7a2c95e407be%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/281e7890-01f1-4bcf-bc0f-7a2c95e407be%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/ce14b963-d7a6-4abb-9bad-ae23c135af04%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
