Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 57667 invoked from network); 17 Mar 2006 22:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Mar 2006 22:44:25 -0000 Received: (qmail 38040 invoked by uid 500); 17 Mar 2006 22:44:25 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 38029 invoked by uid 99); 17 Mar 2006 22:44:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 14:44:24 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 14:44:24 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 749266ACAB for ; Fri, 17 Mar 2006 22:44:03 +0000 (GMT) Message-ID: <1279704174.1142635443474.JavaMail.jira@ajax> Date: Fri, 17 Mar 2006 22:44:03 +0000 (GMT) From: "Jukka Zitting (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Commented: (JCR-352) Upgrade to Lucene 1.9.1 In-Reply-To: <715209747.1142317599502.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JCR-352?page=comments#action_12370902 ] Jukka Zitting commented on JCR-352: ----------------------------------- I tried changing the visibility of the difference() method, which did solve the compile problem, but now I get a ClassCastException from org.apache.lucene.store.Directory.createFile() when the repository is being initialized. This problem can be reconstructed like this after placing lucene/jars/lucene-1.9.1.jar in the local maven repository: $ svn export http://svn.apache.org/repos/asf/incubator/jackrabbit/branches/1.0/jackrabbit $ cd jackrabbit $ perl -i -pe 's/1.4.3/1.9.1/' project.xml $ perl -i -pe 's/protected float difference/public float difference/' \ src/main/java/org/apache/jackrabbit/core/query/lucene/WildcardTermEnum.java $ maven test This seems to have something to do with the "this method should be abstract" notice in the Lucene Directory.createOutput() method. The FSDirectory class in Jackrabbit doesn't seem to play well with the modified Directory implementation in Lucene 1.9.1. If there is a similar simple and non-intrusive fix for this problem, then I can have the change included in 1.0, otherwise not. In any case I am going to keep Lucene 1.4.3 as the official dependency in Jackrabbit 1.0. A possible fix would be there just to help people deploy Jackrabbit 1.0 with Lucene 1.9.1. > Upgrade to Lucene 1.9.1 > ----------------------- > > Key: JCR-352 > URL: http://issues.apache.org/jira/browse/JCR-352 > Project: Jackrabbit > Type: Improvement > Versions: 1.1, 1.0.1, 1.0 > Environment: All > Reporter: Michael Young > Assignee: Jukka Zitting > > We would like to upgrade to Lucene 1.9.1. There are jar conflicts when integrating with other projects such as Liferay Portal -- which uses v 1.9.1. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira