The match query analyzes your text (usind the standard analyzer by
default). I'm assuming you're using an ES version prior to 1.0, in which
case the standard analyzer will remove "the" as a stopword. You can easily
verify this by overriding the analyzer in your query like for example:
{
"explain": true,
"query": {
"match_phrase": {
"PERFORMER": {
"query": "the house",
"operator": "and",
"analyzer": "whitespace"
}
}
}
}
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/3520bd6b-c4b5-4c33-b4c5-af5473e9d340%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.