Open a set of extremely old indexes using latest PyLucene 10.0.0

2024-10-22 Thread Prashant Saxena
I do have a set of old lucene index files, probably 15-20 years old. Every index directory contains four files, something like these...(size is different) _0.cfx 47, 942 KB _s.cfs 1,78,687 KB segments.gen1 KB segments_2 1 KB When I try to open an index using Py

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
> On Oct 22, 2024, at 17:16, Prashant Saxena wrote: > > Well, I can't run 'make' ;-), That's been the main problem since the > beginning. You could if you installed cygwin. > I just checked a few scripts and they are working fine. I'll start testing > extensively within the next few days >

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Prashant Saxena
Well, I can't run 'make' ;-), That's been the main problem since the beginning. I just checked a few scripts and they are working fine. I'll start testing extensively within the next few days and post here in case of any bugs. On Tue, Oct 22, 2024 at 7:28 PM Andi Vajda wrote: > > On Tue, 22 Oct

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
On Tue, 22 Oct 2024, Prashant Saxena wrote: Voila;-) The PyLucene extension is finally built on Windows. Does it run, do the tests pass ? run "make test"... Thanks Andi, I really appreciate your help & guidance. Excellent, thank you for being so persistent. You didn't pick an easy set

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Prashant Saxena
Voila;-) The PyLucene extension is finally built on Windows. Thanks Andi, I really appreciate your help & guidance. Again there were same errors as before D:\projects\database\pylucene-10.0.0\build\_lucene\org/objectweb/asm/Opcodes.h(245): error C2059: syntax error: 'constant' D:\projects\data

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
On Tue, 22 Oct 2024, Andi Vajda wrote: On Tue, 22 Oct 2024, Prashant Saxena wrote: Here are three of them pylucene-10.0.0\build\_lucene\java/lang/System$Logger$Level.h(41) static System$Logger$Level *ERROR; pylucene-10.0.0\build\_lucene\org/antlr/v4/runtime/atn/ATNSimulator.h(63) static ::

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
On Tue, 22 Oct 2024, Prashant Saxena wrote: Here are three of them pylucene-10.0.0\build\_lucene\java/lang/System$Logger$Level.h(41) static System$Logger$Level *ERROR; pylucene-10.0.0\build\_lucene\org/antlr/v4/runtime/atn/ATNSimulator.h(63) static ::org::antlr::v4::runtime::dfa::DFAState *ER

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Prashant Saxena
Here are three of them pylucene-10.0.0\build\_lucene\java/lang/System$Logger$Level.h(41) static System$Logger$Level *ERROR; pylucene-10.0.0\build\_lucene\org/antlr/v4/runtime/atn/ATNSimulator.h(63) static ::org::antlr::v4::runtime::dfa::DFAState *ERROR; pylucene-10.0.0\build\_lucene\org/objectwe

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
> On Oct 22, 2024, at 09:01, Prashant Saxena wrote: > > Ok, much less errors after building and reinstalling JCC > > D:\projects\database\pylucene-10.0.0\build\_lucene\java/lang/System$Logger$Level.h(41): > error C2059: syntax error: 'constant' Hmm, so you still have the error with 'constant

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Prashant Saxena
Ok, much less errors after building and reinstalling JCC D:\projects\database\pylucene-10.0.0\build\_lucene\java/lang/System$Logger$Level.h(41): error C2059: syntax error: 'constant' D:\projects\database\pylucene-10.0.0\build\_lucene\java/lang/System$Logger$Level.h(41): error C2238: unexpected tok