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

Key: CMP-516
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Ismael Juma
Votes: 0
Watchers: 2
Operations

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

Support Lucene 2.3.

Created: 25/Jan/08 12:38 AM   Updated: 10/Oct/10 05:11 PM
Component/s: Compass::Core
Affects Version/s: 2.0 M1
Fix Version/s: 2.0.0 M2

Environment: JDK6u4, Fedora 8


 Description  « Hide
Lucene 2.3 has been released[1] with many improvements (not sure how many of them directly apply under Compass though). Many improvements have been made to Compass 2.0M1 too. It would be nice if both could be combined. I tried the latest 2.0M1 snapshot and I hit an exception[2].

[1] http://www.nabble.com/-ANNOUNCE--Lucene-Java-2.3.0-release-available-td15080226.html

[2] java.lang.NoSuchMethodError: org.apache.lucene.index.IndexFileDeleter.<init>(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/IndexDeletionPolicy;Lorg/apache/lucene/index/SegmentInfos;Ljava/io/PrintStream;)V
at org.apache.lucene.index.TransIndex.<init>(TransIndex.java:167)
at org.apache.lucene.index.TransIndex.<init>(TransIndex.java:115)
at org.compass.core.lucene.engine.transaction.ReadCommittedTransaction$TransIndexManager.openTransIndexBySubIndex(ReadCommittedTransaction.java:177)
at org.compass.core.lucene.engine.transaction.ReadCommittedTransaction.doCreate(ReadCommittedTransaction.java:337)
at org.compass.core.lucene.engine.transaction.AbstractTransaction.create(AbstractTransaction.java:109)
at org.compass.core.lucene.engine.LuceneSearchEngine.create(LuceneSearchEngine.java:348)
at org.compass.core.impl.DefaultCompassSession.create(DefaultCompassSession.java:350)
at org.compass.gps.device.jpa.AbstractCompassJpaEntityListener$1.doInCompassWithoutResult(AbstractCompassJpaEntityListener.java:108)
at org.compass.core.CompassCallbackWithoutResult.doInCompass(CompassCallbackWithoutResult.java:29)
at org.compass.core.CompassTemplate.execute(CompassTemplate.java:132)
at org.compass.core.CompassTemplate.execute(CompassTemplate.java:114)
at org.compass.gps.device.jpa.AbstractCompassJpaEntityListener.postPersist(AbstractCompassJpaEntityListener.java:106)
at org.compass.gps.device.jpa.lifecycle.TopLinkEssentialsJpaEntityLifecycleInjector$TopLinkEssentialsEventListener.postInsert(TopLinkEssentialsJpaEntityLifecycleInjector.java:63)



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 25/Jan/08 05:15 AM
Some of the changes in Lucene were actually done by Compass already, others Compass and utilize. Actually, this is a big change for Compass, which I already know about (I have been monitoring it closely). It is on the roadmap for Compass 2.0.

Ismael Juma added a comment - 25/Jan/08 08:58 AM
Thank you for the explanation.

Razan Abbass added a comment - 10/Oct/10 05:11 PM