Did we upgrade this in the branch Graham? On Jun 9, 2008, at 8:20 AM, Graham Triggs wrote:
> Jose, > > There is a known corruption bug in Lucene 2.3.0, that is meant to be > fixed in the later releases (they are currently on 2.3.2) > > Instead of going back to an older version, can you try using the > latest > version of Lucene (2.3.2)? > > There are some useful changes in the 2.3.x series that I would like to > see us stay with - particularly for anyone that is trying to run > Lucene > on Windows. > > G > > Blanco, Jose wrote: >> I'm on dspace 1.5, and when I try index-init, I get these errors: >> >> Exception in thread "Thread-267" >> org.apache.lucene.index.MergePolicy$MergeException: >> org.apache.lucene.index.CorruptIndexException: doc counts differ for >> segment _fjj: fieldsReader shows 0 but segmentInfo shows 1 >> at >> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run >> (Concurr >> entMergeScheduler.java:271) >> Caused by: org.apache.lucene.index.CorruptIndexException: doc counts >> differ for segment _fjj: fieldsReader shows 0 but segmentInfo shows 1 >> at >> org.apache.lucene.index.SegmentReader.initialize >> (SegmentReader.java:313) >> at >> org.apache.lucene.index.SegmentReader.get(SegmentReader.java:262) >> at >> org.apache.lucene.index.SegmentReader.get(SegmentReader.java:221) >> at >> org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java: >> 3093) >> at >> org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:2834) >> at >> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run >> (Concurr >> entMergeScheduler.java:240) >> >> I'm using tomcat 5. I say this because, some one thought that >> tomcat 5 >> would fix this. >> >> Also, if I replace lucene-core-2.3.0.jar with what I had for 1.4: >> >> lucene.jar >> lucene-sandbox.jar >> >> index-init completes successfully. >> >> Any ideas? >> >> Thank you! >> Jose > > > > > This e-mail is confidential and should not be used by anyone who is > not the original intended recipient. BioMed Central Limited does > not accept liability for any statements made which are clearly the > sender's own and not expressly made on behalf of BioMed Central > Limited. No contracts may be concluded on behalf of BioMed Central > Limited by means of e-mail communication. BioMed Central Limited > Registered in England and Wales with registered number 3680030 > Registered Office Middlesex House, 34-42 Cleveland Street, London > W1T 4LB > This email has been scanned by Postini. > For more information please visit http://www.postini.com > > > ---------------------------------------------------------------------- > --- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech