You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem:
On versions 6.x it seems that Boosting Query with negative_boost does not work anymore as described in the Official Guide.
On versions 5.x it works as expected.
I suspect that the cause may be in some code being changed in the Lucene library, BoostingQuery seems to be deprecated: https://issues.apache.org/jira/browse/LUCENE-8099. If this is the case, do we have an efficient alternative to demote results that match a given query ?
The text was updated successfully, but these errors were encountered:
Elasticsearch version : 6.x
JVM version :1.8.0
OS version : Windows 10, Kubernetes Pods
Description of the problem:
On versions 6.x it seems that Boosting Query with negative_boost does not work anymore as described in the Official Guide.
On versions 5.x it works as expected.
Steps to reproduce:
1. create index mapping:
PUT /testn1
2. Insert 3 documents:
PUT /testn1/test/1
PUT /testn1/test/2
PUT /testn1/test/3
3. Execute a search using the following query:
/testn1/_search
4. No matter what values we will use for the negative query, we will get the same result:
I suspect that the cause may be in some code being changed in the Lucene library, BoostingQuery seems to be deprecated: https://issues.apache.org/jira/browse/LUCENE-8099. If this is the case, do we have an efficient alternative to demote results that match a given query ?
The text was updated successfully, but these errors were encountered: