> You're right: > > public SolrQueryParser(IndexSchema schema, String > defaultField) { > ... > setLowercaseExpandedTerms(false); > ... > }
Please note that lowercaseExpandedTerms uses String.toLowercase() (uses default Locale) which is a Locale sensitive operation. In Lucene AnalyzingQueryParser exists for this purposes, but I am not sure if it is ported to solr. http://lucene.apache.org/java/3_0_2/api/contrib-misc/org/apache/lucene/queryParser/analyzing/AnalyzingQueryParser.html