I\'m using elasticsearch and am having a devil of a time getting an exact match to happen. I\'ve tried various combinations of match, query_string, etc, and I either get not
I think that your problem is that field term
is being analyzed (check your mapping) with the standard analyzer and is filtering stopwords such as the
or that
. For that reason you get the same score for Dog
and The Dog
. So maybe you can solve your problem by configuring a custom analyzer => documentation page