You're right: public SolrQueryParser(IndexSchema schema, String defaultField) { ... setLowercaseExpandedTerms(false); ... }
OK, thanks for pointing. On Fri, Nov 18, 2011 at 4:12 PM, Ahmet Arslan <iori...@yahoo.com> wrote: > > Actually I have just checked the source code of Lucene's > > QueryParser and > > lowercaseExpandedTerms there is set to true by default > > (version 3.4). The > > code there does lower-casing by default. So in that sense I > > don't need to > > do anything in the client code. Is something wrong here? > > But SolrQueryParser extends that and default behavior may different. For > clarification see source code of SolrQueryParser. > -- Regards, Dmitry Kan