Hi, I'm trying to figure out the correct mapping for searching for exact values but lowercased. I thought this would work: .... "exact_lowercase": { "filter": [ "lowercase" ], "type": "custom", "tokenizer": "keyword" } ......
and the mapping of the field: "TITLE": { "fields": { "exact_lowercase": { "search_analyzer": "keyword", "index_analyzer": "exact_lowercase", "type": "string" }, ...some other mapping.... }, "type": "multi_field" } but when i do a termquery or query_string query i'm not getting any hits, for example "steel wheels". The original value: "Steel Wheels". What am i doing wrong. The idea for the searchstrategy is to first match on exact lowercase strings, if nothing is found we do a partial match. Thanks, Maarten -- 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/27936be4-3c41-4837-bdd4-01e765d7aa3c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.