Query [1] (exactly one result) and [2] (many results) differ in their results (quantity), although they are semantically equivalent according to the documentation (see "operator" parameter explanation for in Documentation for "operator" parameter). Is there an explanation for this?
[1]:
GET test/_search
{
"query": {
"match": {
"fulltext": {
"query" : "Western United States",
"operator": "and"
}
}
}
}
[2]:
GET test/_search
{
"query": {
"match": {
"fulltext": {
"query" : "Western AND United AND States"
}
}
}
}
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.