Re: Parsing wildcard expressions in QueryParser...

2010-07-15 Thread Soby Thomas
Thanks sujan...it worked:) On Thu, Jul 15, 2010 at 5:04 AM, Sujan Shakya wrote: > Hi, > You can use lucene java docs for API. Doc for QueryParser can be found at > > http://lucene.apache.org/java/3_0_0/api/all/org/apache/lucene/queryParser/QueryParser.html > . > > Below is the code that you w

Re: Parsing wildcard expressions in QueryParser...

2010-07-14 Thread Sujan Shakya
Hi, You can use lucene java docs for API. Doc for QueryParser can be found at http://lucene.apache.org/java/3_0_0/api/all/org/apache/lucene/queryParser/QueryParser.html . Below is the code that you want: parser = QueryParser(Version.LUCENE_CURRENT, "payload", analyzer) escaped_string = QueryPars

Parsing wildcard expressions in QueryParser...

2010-07-14 Thread Soby Thomas
Hi Guys... I need to pass some wildcard expressions like ' - / * ! into the QueryParser. I saw one method called *escape* but dont know how to call that in python. Can anyone help me in that...?? query = QueryParser(Version.LUCENE_CURRENT, "payload", analyzer).parse(mail_payload) This is how