I found that from es7.0,querystring query can't boost NOT query,like below code,the result score is 0,not 100 as expect.I alse check in es5.x and es6.x it work as expect.someone know why?
PUT test/_doc/1
{
"test": "1"
}
GET test/_search
{
"query": {
"query_string": {
"query": "(NOT _exists_:abc)^100"
}
}
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.