Elasticsearch: Forbid negative values for "weight" in Function Score Query

Created on 10 Jul 2018  路  6Comments  路  Source: elastic/elasticsearch

If a negative weight is submitted for a query:

  • issue a deprecation message for 6.x
  • error for 7

related to https://github.com/elastic/elasticsearch/issues/24910

:SearcSearch >enhancement blocker good first issue help wanted v7.0.0-beta1

All 6 comments

Pinging @elastic/es-search-aggs

Hi, I would like to pick this issue.

Thanks @aditya-agrawal, your PR would be very much appreciated

@aditya-agrawal We have an urgent need for this PR, as we are preparing for Lucene 8 upgrade. Do you think you will be able to submit a PR within several days?

If not, no problem, we can work on it ourselves.

@mayya-sharipova yes I will try to complete this in few days.

Closed by #33390

Was this page helpful?
0 / 5 - 0 ratings