On Fri, 3 Mar 2006, David Pratt wrote:

Trond, did you get an answer or figure this out. If so, could you post it back to the list for everyone's benefit. Many thanks.

Regards,
David

Trond Aksel Myklebust wrote:
Maybe I should be asking on the Lucene list.
I just replaced 1.0 with 1.9 and it works fine except for when I am trying
to search by giving a fieldname in the query sent to QueryParser
The exception is:
org.apache.lucene.queryParser.QueryParser$LookaheadSuccess. If I only define
the query as "Trondheim" it works, defining it as "City:Trondheim" doesnt
work. Worked fine in 1.0.

Lots of things have changed between PyLucene 1.0 (Lucene 1.4.3) and PyLucene 1.9 (Lucene 1.9). See:
 http://svn.osafoundation.org/pylucene/trunk/CHANGES
 http://svn.apache.org/repos/asf/lucene/java/tags/lucene_1_9_final/CHANGES.txt

If this works in Java Lucene 1.9 but not in PyLucene 1.9 then it is another one of those gcj-compiler issues I've had to track down in the QueryParser and patch it. Could someone try this with Java Lucene and report back ?

Thanks !

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to