polyfractal / sherlock

MIT License
119 stars 28 forks source link

Case sensitivity in match queries #77

Open svscorp opened 11 years ago

svscorp commented 11 years ago

Hello.

How do I make my 'match' query case insensitive?

polyfractal commented 11 years ago

Depends entirely on the analyzer that you are using for the field. Most analyzers are case-insensitive (automatically lowercase), and by default the match query uses the same analyzer as the one configured for the field.