SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-418
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Ismael Juma
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

Support Lucene 2.2

Created: 19/Jun/07 09:58 PM   Updated: 24/Jun/07 02:24 PM
Component/s: Compass::Core
Affects Version/s: 1.2 M1
Fix Version/s: 1.2 M2


 Description  « Hide
Lucene 2.2 was released[1]. Perhaps instead of supporting Lucene 2.1 for Compass 1.2, it's worth going for Lucene 2.2 directly.

I assume that changes are required because I got the following error when I tried to run a post 1.2M1 build of Compass with Lucene 2.2:

java.lang.NoSuchMethodError: org.apache.lucene.index.IndexFileDeleter.<init>(Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/store/Directory;)V
at org.apache.lucene.index.TransIndex.<init>(TransIndex.java:175)
at org.apache.lucene.index.TransIndex.<init>(TransIndex.java:110)
at org.compass.core.lucene.engine.transaction.ReadCommittedTransaction$TransIndexManager.openTransIndexBySubIndex(ReadCommittedTransaction.java:142)
at org.compass.core.lucene.engine.transaction.ReadCommittedTransaction.doCreate(ReadCommittedTransaction.java:315)
at org.compass.core.lucene.engine.transaction.AbstractTransaction.create(AbstractTransaction.java:109)
at org.compass.core.lucene.engine.LuceneSearchEngine.create(LuceneSearchEngine.java:330)
at org.compass.core.impl.DefaultCompassSession.create(DefaultCompassSession.java:288)

[1] http://lucene.apache.org/java/docs/index.html#19+June+2007+-+Release+2.2+available



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 24/Jun/07 11:24 AM
Compass now supports lucene 2.2. Need to update the Lucene jars (of course). I will soon release 1.2 M2, so it would be great if you could verify it on your application as well.

Ismael Juma added a comment - 24/Jun/07 02:24 PM
I've tested it in the application where the reported error was seen and it now works fine with Lucene 2.2. Thanks.