OpenSearch/server
Mayya Sharipova c0c1a7a9a6 Apply boost only once for distance_feature query (#63767)
Currently if distance_feature query contains boost,
it incorrectly  gets applied twice: in AbstractQueryBuilder::toQuery and
we also pass this boost to Lucene's LongPoint.newDistanceFeatureQuery.
As a result we get incorrect scores.

This fixes this error to ensure that boost is applied only once.

Closes #63691
2020-10-16 10:02:55 -04:00
..
licenses Upgrade to lucene-8.7.0-snapshot-5c4168d (#63466) 2020-10-08 08:20:43 -04:00
src Apply boost only once for distance_feature query (#63767) 2020-10-16 10:02:55 -04:00
build.gradle Search - add case insensitive support for regex queries. (#59441) (#61532) 2020-08-25 17:18:59 +01:00