jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@netenviron.com>
Subject Re: Lucene 3.5
Date Mon, 23 Jan 2012 04:01:22 GMT
On 20 January 2012 21:38, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> Hi,
>
> On Fri, Jan 20, 2012 at 10:51 AM, Sascha Rodekamp
> <sascha.rodekamp.lynx.de@googlemail.com> wrote:
>> are there any plans to make Lucene 3.5 available in a near Jackrabbit release?
>> Because it turned out that the version 3.5 is not downwards compatible to 3.0.3.
>
> We can upgrade Jackrabbit to a newer version of Lucene as soon as
> someone goes through the effort of identifying and fixing any possible
> backwards compatibility issues. AFAIUI nobody is currently working on
> that, but contributions are of course welcome.

The changes are fairly trivial, but the tests fails so there must be
other changes that require work. It would be very handy to have the
faceting support that went into lucene 3.4.0.

I only updated the pom to require lucene 3.5.0, so it might be that
this version has dependencies that require updated versions of some
libraries, causing the failed tests.

laptop:jackrabbit-2.3.7 torgeir$ diff
jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IDField.java
../jackrabbit-2.3.7-orig/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IDField.java
24d23
< import org.apache.lucene.index.FieldInfo.IndexOptions;
41,42c40
< 	setIndexOptions(IndexOptions.DOCS_ONLY);
---
>         this.omitTermFreqAndPositions = true;
laptop:jackrabbit-2.3.7 torgeir$ diff
jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/directory/FSDirectoryManager.java
../jackrabbit-2.3.7-orig/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/directory/FSDirectoryManager.java
225,226c225
<         public void setLockFactory(LockFactory lockFactory)
<         throws IOException {
---
>         public void setLockFactory(LockFactory lockFactory) {


main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) @ jackrabbit-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jackrabbit-core ---
[INFO] Surefire report directory:
/Users/torgeir/java/src/jackrabbit-2.3.7/jackrabbit-core/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.jackrabbit.core.nodetype.TestAll
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 4.897
sec <<< FAILURE!
Running org.apache.jackrabbit.core.security.authorization.acl.TestAll
Tests run: 154, Failures: 154, Errors: 0, Skipped: 0, Time elapsed:
41.531 sec <<< FAILURE!
Running org.apache.jackrabbit.core.version.TestAll
Tests run: 6, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 2.139
sec <<< FAILURE!
Running org.apache.jackrabbit.core.id.TestAll
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.441 sec
Running org.apache.jackrabbit.core.query.lucene.TestAll
Tests run: 21, Failures: 17, Errors: 1, Skipped: 0, Time elapsed:
5.895 sec <<< FAILURE!
Running org.apache.jackrabbit.core.journal.TestAll
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.343
sec <<< FAILURE!
Running org.apache.jackrabbit.api.TestAll
Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.005
sec <<< FAILURE!
Running org.apache.jackrabbit.core.util.db.TestAll
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec
Running org.apache.jackrabbit.core.lock.TestAll
Tests run: 7, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 2.268
sec <<< FAILURE!
Running org.apache.jackrabbit.api.security.authorization.TestAll
Tests run: 7, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 1.673
sec <<< FAILURE!
Running org.apache.jackrabbit.core.observation.TestAll
Tests run: 14, Failures: 14, Errors: 0, Skipped: 0, Time elapsed: 3.56
sec <<< FAILURE!
Running org.apache.jackrabbit.core.security.authentication.token.TestAll
Tests run: 13, Failures: 13, Errors: 0, Skipped: 0, Time elapsed:
3.175 sec <<< FAILURE!
Running org.apache.jackrabbit.core.fs.TestAll
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.596 sec
Running org.apache.jackrabbit.core.util.TestAll
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.104 sec
Running org.apache.jackrabbit.api.security.user.TestAll
Tests run: 119, Failures: 119, Errors: 0, Skipped: 0, Time elapsed:
28.934 sec <<< FAILURE!
Running org.apache.jackrabbit.core.security.authentication.TestAll
Tests run: 19, Failures: 11, Errors: 0, Skipped: 0, Time elapsed:
1.668 sec <<< FAILURE!
Running org.apache.jackrabbit.core.xml.TestAll
Tests run: 15, Failures: 14, Errors: 0, Skipped: 0, Time elapsed:
2.094 sec <<< FAILURE!
Running org.apache.jackrabbit.core.config.TestAll
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.765 sec
Running org.apache.jackrabbit.core.retention.TestAll
Tests run: 5, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 0.932
sec <<< FAILURE!
Running org.apache.jackrabbit.core.security.TestAll
Tests run: 16, Failures: 16, Errors: 0, Skipped: 0, Time elapsed:
3.043 sec <<< FAILURE!
Running org.apache.jackrabbit.core.security.authorization.principalbased.TestAll
Tests run: 112, Failures: 112, Errors: 0, Skipped: 0, Time elapsed:
21.433 sec <<< FAILURE!
Running org.apache.jackrabbit.core.security.authorization.TestAll
Tests run: 76, Failures: 61, Errors: 0, Skipped: 0, Time elapsed:
11.987 sec <<< FAILURE!
Running org.apache.jackrabbit.core.TestAll
[...]

-- 
-Tor

Mime
View raw message