Elastic search exact match
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 nothing or bad results. Query looks like this: { "filter": { "term": { "term": "dog", "type": "main" } }, "query": { "match_phrase": { "term": "Dog" } }, "sort": [ "_score" ] } Sorted results 10.102211 {u'term': u'The Dog', u'type': u'main', u'conceptid': 7730506} 10.102211 {u'term': u'That Dog', u'type': u'main', u'conceptid': 4345664} 10.102211 {u'term': u'Dog', u'type': u'main', u'conceptid': 144} 7.147442 {u'term': u'Dog Eat