java.lang.IllegalArgumentException: Could not load codec 'Lucene62'. Did you forget to add lucene-backward-codecs.jar?

2019-06-04 Thread David Allouche
Hello, I use pylucene, and I am upgrading from 6.5.0 to 7.7.1. Opening my old index using the new pylucene, I get > Traceback (most recent call last): > ... > File "/home/user/jobaffinity/lib/luceneindex.py", line 58, in > create_lucene_index_maybe > writer = IndexWriter(directory, conf

Re: java.lang.IllegalArgumentException: Could not load codec 'Lucene62'. Did you forget to add lucene-backward-codecs.jar?

2019-06-04 Thread Andi Vajda
I wasn't aware of this jar file ;-) Did you try adding it in the Makefile and seeing if that fixes the problem ? Andi.. > On Jun 4, 2019, at 11:30, David Allouche wrote: > > Hello, > > I use pylucene, and I am upgrading from 6.5.0 to 7.7.1. > > Opening my old index using the new pylucene, I

Re: java.lang.IllegalArgumentException: Could not load codec 'Lucene62'. Did you forget to add lucene-backward-codecs.jar?

2019-06-04 Thread Andi Vajda
On Tue, 4 Jun 2019, Andi Vajda wrote: I wasn't aware of this jar file ;-) Did you try adding it in the Makefile and seeing if that fixes the problem ? It looks like both lucene-codecs.jar and lucene-backward-codecs.jar are missing... Andi.. Andi.. On Jun 4, 2019, at 11:30, David All

Re: java.lang.IllegalArgumentException: Could not load codec 'Lucene62'. Did you forget to add lucene-backward-codecs.jar?

2019-06-04 Thread Andi Vajda
In rev 1860637 I refreshed the list of supported lucene module to be built with PyLucene. The lucene-backward-codecs module was indeed missing. Please, try it out with pylucene 7.7.1 (refresing its Makefile from trunk) and let me know if it fixes your problem. Thanks ! Andi.. On Tue, 4 Jun 2