Help with using MultiFieldQueryParser

2010-07-09 Thread Soby Thomas
Hi , I'm trying to use MultiFieldQueryParser. But it is giving me an error. This is the code which I wrote for it. * query = lucene.MultiFieldQueryParser(lucene.Version.LUCENE_CURRENT, ["payload","subject"], analyzer).parse(command) *The error 'm getting is this... *Traceback (most recent call

Re: Help with using MultiFieldQueryParser

2010-07-09 Thread Aric Coady
On Jul 9, 2010, at 9:53 AM, Soby Thomas wrote: > Hi , > > I'm trying to use MultiFieldQueryParser. But it is giving me an error. This > is the code which I wrote for it. > > * query = lucene.MultiFieldQueryParser(lucene.Version.LUCENE_CURRENT, > ["payload","subject"], analyzer).parse(command) I

Building Apache PyLucene 2.9.3 / 3.0.2 on Windows

2010-07-09 Thread Thomas Koch
Hi, trying to build Apache PyLucene 2.9.3 / 3.0.2 on Windows (Win32, Python 2.6, Java 1.6, ant 1.8.0) fails for me with an error during "make" of PyLucene. Could build JCC2.6 before with no problem. Should be noted that I've built PyLucene 2.4 before (same machine) with no problems (with Jc

Re: Building Apache PyLucene 2.9.3 / 3.0.2 on Windows

2010-07-09 Thread Andi Vajda
On Fri, 9 Jul 2010, Thomas Koch wrote: trying to build Apache PyLucene 2.9.3 / 3.0.2 on Windows (Win32, Python 2.6, Java 1.6, ant 1.8.0) fails for me with an error during "make" of PyLucene. Could build JCC2.6 before with no problem. Should be noted that I've built PyLucene 2.4 before (same m