This request is acknowledged and I inserted a new document called in the index:
{ "name": "fire house" }
Since analysis is turned off, the document name, "fire house", shouldn't be tokenized. So unless the query is exactly "fire house," the document shouldn't be retrieved. However, the document is being retrieved even though the query term is just "fire" or "house." Could this be an issue with the current version of E.S. I'm using or is it the way I specified mapping during index creation?
Hello Christian, this what I entered in my search query { { "term" : { "name" : "fire" } }}. I specified the name field as you can tell, and yet the document with the name "fire house" continues to be retrieved.
Christian, I tried the search query again with field match, and it finally worked. It's strange, the first time I tried it didn't work. But now it does
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.