Re: JCC and PyLucene ported to Python 3.0

2010-07-14 Thread Aric Coady
Thanks, great work. I ran into minor build issues (also using Python 3.1.2 on Mac OS X 10.6): BUILD FAILED pylucene3/lucene-modules-4.0/build.xml:31: The following error occurred while executing this line: pylucene3/lucene-modules-4.0/analysis/build.xml:31: The following error occurred while e

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