I followed the official document, but get nothing in reponse.
I paste my query in gist:
I followed the official document, but get nothing in reponse.
I paste my query in gist:
is it a bug?
problem is solved.
Another problem about SpanNotQuery.
query:
{
"query":
{
"span_not" : {
"include" : {
"span_term" : { "message" : "trying" }
},
"exclude" : {
"span_term" : { "message" : "search2" }
}
}
}
}
I want exclude search2 from the result, but it seems span_not does not take effect, the query returns all results.
© 2020. All Rights Reserved - Elasticsearch
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.