Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-07 Thread Jebarlin Robertson
Thank you very much Mr. Shai for all your help :) I will follow the same :) Thank you once again :) Regards, Jebarlin.R On Fri, Feb 7, 2014 at 5:05 PM, Shai Erera wrote: > Hi > > Since 4.2 the facets module has gone under major changes, both API and > implementation and performance has improve

Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-07 Thread Shai Erera
Hi Since 4.2 the facets module has gone under major changes, both API and implementation and performance has improved x4. If you want to upgrade, then I recommend waiting for 4.7 since we overhauled the API again - this will save you the efforts to migrate to e.g 4.6 and then to the new API once 4

Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-06 Thread Jebarlin Robertson
Dear Shai, I only made the mistake by using the same directory for both IndexWriter and FacetWriter. Now it is working fine .Thank you :) Could you please tell me if there is any major performance difference in using *3.6 and 4.x* *Facet *library?. Since I use the Lucene 3.6 version, I am using F

Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-06 Thread Jebarlin Robertson
Dear Shai, Thank you for your reply. Actually I am using Lucene3.6 in Android. It is working fine. but with the latest versions there are some issues. Now I just added this Facet search library also along with the old Lucene code. After this Facet search integration, it is giving these Corrupted

Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-06 Thread Shai Erera
It looks like something's wrong with the index indeed. Are you sure you committed both the IndexWriter and TaxoWriter? Do you have some sort of testcase / short program which demonstrates the problem? I know there were few issues running Lucene on Android, so I cannot guarantee it works fully .. w