On Mon, 29 Jan 2007, Jack L wrote:
Thanks Andi and Brian for the reply. I'm still getting the error.
Here's what I did:
I downloaded lucene 2.0 from a mirrow link
http://download.nextag.com/apache/lucene/java/lucene-core-2.0.0.jar
And here's how I run luke:
java -classpath luke.jar;lucene-core-2.0.0.jar org.getopt.luke.Luke
I run Luke and navigate to the directory generated by, which is:
PyLucene-2.0.0-8\samples\LuceneInAction\index
Luke still complains that it's not a lucene index.
I'm not sure that the formats between Lucene 2.0.0 and PyLucene 2.0.0-8 are
exactly the same. PyLucene 2.0.0-8 is built from a recent Java Lucene trunk
snapshot. To be sure, download the PyLucene 2.0.0-8 source tarball and use the
Lucene JAR file to be found in there with Luke.
Andi..
--
Best regards,
Jack
Saturday, January 27, 2007, 5:28:14 PM, you wrote:
On Sat, 27 Jan 2007, Jack L wrote:
Has anyone been using Luke to examine index generated by PyLucene?
I'd like to use Luke to debug my search but I always get a
"invalid path, or not a Lucene index" error from Luke when I point
it to the index directory.
A Lucene index created with PyLucene should be the same byte for byte as an
index created with Java Lucene. If that is not the case, please send in code
to reproduce the error, it's a bug.
I've never used Luke myself so I can't tell what the error is about. Maybe the
version of Luke is not compatible with the version of Lucene/PyLucene you're
using ? There have been index format changes in Lucene 2.0.
Andi..
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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