You need to post (at least) the original query, the results of escaping the query that produces the exception and the stack trace in order for us to offer much in the way of advice.
You might review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Tue, May 21, 2013 at 1:08 AM, kretoni <ktr...@gmail.com> wrote: > Hello all, > > Currently, I used solr for products searching. I used Java web > platform. > > <fieldType name="text_general" class="solr.TextField" > positionIncrementGap="100"> > <analyzer type="index"> > <tokenizer > class="solr.StandardTokenizerFactory" /> > <filter class="solr.LowerCaseFilterFactory" /> > </analyzer> > <analyzer type="query"> > <tokenizer > class="solr.StandardTokenizerFactory" /> > <filter class="solr.LowerCaseFilterFactory" /> > </analyzer> > </fieldType> > > Normal searching are ok. But when I put the special characters of solr only > there is occured the Parser exception. e.g. [] , ||. So, I used > ClientUtils.escapeQueryChars(q) in my controller. But exception is still > occured. So, how to prevent or handle putting special characters in my > search box? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-handle-special-characters-in-Solr-search-tp4064816.html > Sent from the Solr - User mailing list archive at Nabble.com.