I am trying the following two search queries in the recently released 0.90:
{
"query_string" : {
"query" : "object:Geo*"
}
and
{
"match_phrase_prefix" : {
"object" : "Geo"
}
The first one returns the correct total (53603472) and the second one
returns 11453280. An example doc that didn't match the second query and
should have: {"object":"Geo:Thailand:Bangkok"}
Mapping is just
{"properties":{"object":{"type":"string"}}}
What is causing the difference between the two queries?
Thanks!
Serge
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.