2.3.2 has been published in the central maven repo

http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/2.3.2/

go into your [dspace-source]/pom.xml and find the lucene dependency  
listed in the dependencyManagement section, change its version number  
to 2.3.2 and rebuild your distribution of dspace using mvn clean package

I think we can safely upgrade to this in the trunk and branch.

-Mark

On Jun 9, 2008, at 12:35 PM, Blanco, Jose wrote:

> 2.3.2 seems to work.  I put it in the reposiotory area and index- 
> init completed without errors.  Now my problem is that I have 2.3.0  
> in the mvn environemnt and I'm not sure how to remove it and  
> install 2.3.2.  What is the easiest way to do that?
>
> Thanks!
> Jose
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:dspace-tech- 
> [EMAIL PROTECTED] On Behalf Of Graham Triggs
> Sent: Monday, June 09, 2008 11:20 AM
> To: Blanco, Jose
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Index-init error
>
> 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


-------------------------------------------------------------------------
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

Reply via email to