Advice on mapping/searching with lowercase

2015-01-20 Thread Maarten Roosendaal
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

Re: Advice on mapping/searching with lowercase

2015-01-20 Thread David Pilato
At index time, you are using your exact_lowercase analyzer. Steel Wheels is indexed as steel wheels. When searching for steel wheels it obviously does not match. Why not using the same analyzer at search and index time? -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 20