On Thu, 13 Apr 2006, Yura Smolsky wrote:

Hello, All.

First of all, thanks Andi for hard work of keeping PyLucene fresh :)
I checked that you have get away from SWIG. That was a huge work.

BTW, I have build last trunk easily on windows, cygwin. Thanks for
that too :)

Now I have found interesting thing. When I try to create non compound
format of index second time over existent directory then I get an error:

Traceback (most recent call last):
 File "testFSDir.py", line 8, in ?
   dirIndex = FSDirectory.getDirectory('indexTest', True)
PyLucene.JavaError: java.lang.Error: Not implemented

When I use compound format of index then it passes okay.

Maybe I miss something?

You're not missing anything, libgcj is.
It looks like the regex API methods are all implemented as throwing NotImplementedError in libgcj for gcj 3.x.

I worked this around in the one place where Java Lucene use String.matches() by calling python's regex handling instead. (see new patch to Lucene's IndexFileNameFilter class)

This bug is fixed in the PyLucene trunk and the new 2.0rc1-6 source tarball I just uploaded.

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

Reply via email to