Hi! I recently discovered select term filters weren't working on my dataset, and narrowed it down to an example involving two letter strings.
This is reproducible on 0.90.2/5/7 both locally and on remote hosts with the following commands: curl -XPUT 'http://localhost:9200/index1/type1/1' -d '{"code":"zh", "name":"China"}' curl -XPUT 'http://localhost:9200/index1/type1/2' -d '{"code":"in", "name":"India"}' curl 'http://localhost:9200/index1/type1/_search' -d '{"query":{"term":{"code":"zh"}}}' // returns Doc 1 *curl 'http://localhost:9200/index1/type1/_search' -d '{"query":{"term":{"code":"in"}}}' // returns nothing* curl 'http://localhost:9200/index1/type1/_search' -d '{"query":{"term":{"name":"china"}}}' // returns Doc 1 curl 'http://localhost:9200/index1/type1/_search' -d '{"query":{"term":{"name":"india"}}}' // returns Doc 2 No mappings or analyzers were used. Is there something obvious I'm missing here? Thanks! ~Karen -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/92cf01a9-9942-4f7e-8fd0-f39e9ed8805b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.