upper case in wildcard query (SolrQueryParser issue)

2011-07-19 Thread Yongtao Liu
Hi all, If user do wildcard query and the term has upper case (like Hell*), the query will not return result. I saw in org.apache.lucene.queryParser.QueryParser has function setLowercaseExpandedTerms to handle this. Via comments, looks like default value should be true. But in SolrQueryParser,

Re: upper case in wildcard query (SolrQueryParser issue)

2011-07-19 Thread Yonik Seeley
On Tue, Jul 19, 2011 at 2:47 PM, Yongtao Liu y...@commvault.com wrote: I was wondering why SolrQueryParser set it to false by default? That allows one to handle both lowercased and non-lowercased fields - the client must match the case, but at least it's possible. If it's true, then it becomes

RE: upper case in wildcard query (SolrQueryParser issue)

2011-07-19 Thread Yongtao Liu
Sent: Tuesday, July 19, 2011 2:59 PM To: dev@lucene.apache.org Subject: Re: upper case in wildcard query (SolrQueryParser issue) On Tue, Jul 19, 2011 at 2:47 PM, Yongtao Liu y...@commvault.com wrote: I was wondering why SolrQueryParser set it to false by default? That allows one to handle both