I'm having some odd results (or it seems to me) in regards to the results
returned by my queries. I'm doing a multi-match query against 4 fields, 1
of which is a geographic location (US/Japan/Saudi Arabia etc) and the 3
others are a mix of strings/arrays. The issue seems to be that the more
hits on a document, the lower the document scores. So for example, if I
have 10 documents with a similar geography (Saudi Arabia), and I do a query
that contains Saudi Arabia and ice cream, the documents that simply have
Saudi Arabia as the geography and no instance of ice cream in any of the
other fields score higher than documents that have Saudi Arabia in the
geography and at least one instance of ice cream in the other fields.
I'm confused why this would be. I would think that if a document had Saudi
Arabia and Ice Cream, it would score much higher, since there are multiple
instances of words. Am I off base here? Can anyone give me some insight?
Should I be using a different query type? I tried boosting the
non-geography fields, and it actually made the results even more confusing.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.