Take the 2-minute tour ×  Is there a simple way to make
Hibernate Search to index all its values in lower case ? Instead
of the default mixed-case.  I'm using the annotation @Field. But
I can't seem to be able to configure some application-level set
share|improve this question add comment  2 Answers  up vote 0
down vote accepted  Fool that I am ! The StandardAnalyzer class
is already indexing in lowercase. It's just a matter of setting
the search terms in lowercase too. I was assuming the query
would do that.  However, if a different analyzer were to be
used, application-wide, then it can be set using the property
hibernate.search.analyzer.  share|improve this answer Note that
you can also specify the Analyzer when you're creating your
query, which is necessary if you use different analyzers for
different fields (e.g. I have a lowercase and a preserved-case
index for some of my fields for which users have the option to
search as case-sensitive or case-insensitive). –  David Mason
Apr 12 '12 at 6:10 add comme