Re: Providing special characters in input when using QueryParser.

2013-09-10 Thread Ankit Murarka
Ok..The problem seems to be solved.. Using the escape method of QueryParser, I am able to parse the given input with special characters also. But if this leads to another pitfall someone may please guide.. On 9/10/2013 12:19 PM, Ankit Murarka wrote: Hello, I am using StandardAnalyzer

Providing special characters in input when using QueryParser.

2013-09-09 Thread Ankit Murarka
Hello, I am using StandardAnalyzer for indexing all the documents. While Searching say for Boolean/Wildcard/Prefix query, I am using *QueryParser* for the user supplied input. But when I supply / as an input along with some characters like: \ I get a lexcial error due to presence of