I have noticed that some of the words that the user searches for are not searched by Elasticsearch
For example, if the user searches for machine L, Elasticsearch only searches for L and does not search for the word machine at all
It works when I change the boost in some matches
Sometimes, due to the fact that I am sure that the word searched by the user is in the database, after activating explain, he still realizes that even the word searched by the user has not been searched even by Elasticsearch.
It depends on analyzers that you use. You can use analyze API to check how both queries and document fields are analyzed and whether the words are analyzed to the same token.
For 5 matches, you have to check the queries and fields be analyzed to contain common tokens using analyze API. Explain API may return only hit fields.
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.