Re: How to configure lucene 4.x to read 3.x index files

2014-09-24 Thread Michael McCandless
chpoint.co.nz] >> Sent: Wednesday, 24 September 2014 12:24 p.m. >> To: 'java-user@lucene.apache.org' >> Subject: RE: How to configure lucene 4.x to read 3.x index files >> >> Hi Robert/Uwe, >> >> Thanks very much for the quick response. >> >&g

Re: How to configure lucene 4.x to read 3.x index files

2014-09-23 Thread Robert Muir
ber 2014 12:24 p.m. > To: 'java-user@lucene.apache.org' > Subject: RE: How to configure lucene 4.x to read 3.x index files > > Hi Robert/Uwe, > > Thanks very much for the quick response. > > I have tried again with a different set of index(28k documents) generated > f

RE: How to configure lucene 4.x to read 3.x index files

2014-09-23 Thread Patrick Mi
September 2014 11:52 p.m. To: java-user Subject: Re: How to configure lucene 4.x to read 3.x index files You should not have to configure anything. The exception should not happen: can I have this index to debug the issue? On Mon, Sep 22, 2014 at 11:07 PM, Patrick Mi wrote: > Hi there, >

RE: How to configure lucene 4.x to read 3.x index files

2014-09-23 Thread Patrick Mi
to configure lucene 4.x to read 3.x index files You should not have to configure anything. The exception should not happen: can I have this index to debug the issue? On Mon, Sep 22, 2014 at 11:07 PM, Patrick Mi wrote: > Hi there, > > I understood that Lucene V4 could read 3.x index

Re: How to configure lucene 4.x to read 3.x index files

2014-09-23 Thread Robert Muir
I opened an issue with a patch for this: https://issues.apache.org/jira/browse/LUCENE-5975 Thanks for reporting it! On Mon, Sep 22, 2014 at 11:07 PM, Patrick Mi wrote: > Hi there, > > I understood that Lucene V4 could read 3.x index files by configuring > Lucene3xCodec but what exactly needs to

Re: How to configure lucene 4.x to read 3.x index files

2014-09-23 Thread Robert Muir
You should not have to configure anything. The exception should not happen: can I have this index to debug the issue? On Mon, Sep 22, 2014 at 11:07 PM, Patrick Mi wrote: > Hi there, > > I understood that Lucene V4 could read 3.x index files by configuring > Lucene3xCodec but what exactly needs t

Re: How to configure lucene 4.x to read 3.x index files

2014-09-23 Thread Uwe Schindler
Yes it can read 3.x index files without extra configuaration. You cannot enforce that, it is automatically. Unfortunately, Lucene 4.10 has some problems, which will be fixed with a bugfix release soon. Those bugs can lead to index corruption. Maybe try 4.9.1 first. Are you sure the 3.x index

How to configure lucene 4.x to read 3.x index files

2014-09-22 Thread Patrick Mi
Hi there, I understood that Lucene V4 could read 3.x index files by configuring Lucene3xCodec but what exactly needs to be done here? I used DEMO code from V4.10.0 to generate v4 index files and could read them without problem. When I tried to read index files generated from V3 I got the followin