Inexplicable behavior using 'terms' filter

luca, what do the values in 'importantId` look like? Are they identical to
the values you pass in? The field is not analyzed though. It would also be
helpful if you could show the results that you would expect so we can see
what values they have.

simon

On Thursday, April 24, 2014 5:53:42 PM UTC+2, Luca wrote:

Of course the map is wrong. here's the right one

ES map:
{
"mapName": {
"_all" : {"enabled" : false},
"properties": {
"uselessField1": {
"type": "boolean",
"index": "no"
},
"uselessField2": {
"type": "long",
"index": "no"
},
...
"toBeSearched1": {
"type": "string",
"index": "de_analyzer"
},
"toBeSearched2": {
"type": "string",
"index": "de_analyzer"
},
"importantId": {
"type": "string",
"index": "not_analyzed"
},
"importantField": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e77ccaee-de1e-4e47-8729-38a26eed1a4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.