Running the LuceneBenchmark test gives me:
Traceback (most recent call last):
File "D:\Diverse Backup
2\NTNU\Master\pakker\PyLucene-1.9\PyLucene-1.9\test\Lu
ceneBenchmark.py", line 993, in ?
LuceneBenchmark.main(sys.argv[1:])
File "D:\Diverse Backup
2\NTNU\Master\pakker\PyLucene-1.9\PyLucene-1.9\test\Lu
ceneBenchmark.py", line 462, in main
qs = cls.createQueries(LuceneBenchmark.queries, a)
File "D:\Diverse Backup
2\NTNU\Master\pakker\PyLucene-1.9\PyLucene-1.9\test\Lu
ceneBenchmark.py", line 505, in createQueries
q = qp.parseQuery(_qs)
File "C:\Program Files\Python24\lib\site-packages\PyLucene.py", line 4147,
in
parseQuery
def parseQuery(*args):return _PyLucene.QueryParser_parseQuery(*args)
PyLucene.JavaError:
org.apache.lucene.queryParser.QueryParser$LookaheadSuccess
Trond A Myklebust
-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] På vegne av Trond Aksel
Myklebust
Sendt: 3. mars 2006 11:55
Til: [email protected]
Emne: [pylucene-dev] Anything changed from 1.0 to 1.9 in QueryParser?
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.
Regards
Trond
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev