Hi all,

First of all, thanks for the great work and this great product!

I installed PyLucene 1.0 on my Debian i386 unstable system. Tests run fine.

Now my problem:

I created an index with Java-Lucene-1.9pre1 and want to access it now using PyLucene (I know it is 1.4.3, but with Java-Lucene-1.4.3 I can access it).

Now I am doing this:

STORE_DIR = "/home/xxx/lucene-test/index-big"
print 'PyLucene', VERSION, 'Lucene', LUCENE_VERSION

directory = FSDirectory.getDirectory(STORE_DIR, False)
reader = IndexReader.open(directory)


and it gives me:

# python2.4 fm2.py
PyLucene 1.0 Lucene 1.4.3
Traceback (most recent call last):
 File "fm2.py", line 28, in ?
   reader = IndexReader.open(directory)
PyLucene.JavaError: java.lang.ArrayIndexOutOfBoundsException: -1
#

GCJ version:
gcj-4.0 (GCC) 4.0.2 20050725 (prerelease) (Debian 4.0.1-3)


What am I missing here?

Thanks for your help!

Best,
Martin








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

Reply via email to