Just wondering how you guys will find out the reason if one query does not return the result as expected? I know you can use 'explain' api to find out how the match score is calculated, but how can I use this if that document does not show up in the query?
I have tried to use min_score but it seems like it is for a different purpose.
Please help to point out where it is documented, and if it is not in place, may I request to add this somewhere in the online documentation? I thought it would be a general question for everybody.
You can use the Explain API by hitting _explain on a specific document. That will tell you exactly why that specific document does not match or has a much lower score that you may have expected. The documentation has an example:
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.