You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "ackelcn (Jira)" <ji...@apache.org> on 2025/10/30 07:59:00 UTC

[jira] [Created] (JCR-5199) The lucene library is obsolete.

ackelcn created JCR-5199:
----------------------------

             Summary: The lucene library is obsolete.
                 Key: JCR-5199
                 URL: https://issues.apache.org/jira/browse/JCR-5199
             Project: Jackrabbit Content Repository
          Issue Type: Bug
    Affects Versions: 2.22.2
            Reporter: ackelcn


I notice that the latest jackrabbit still uses lucene 3.6.2. The the bugs in that lucene could affect jackrabbit. For example, jackrabbit calls org.apache.lucene.search.MultiTermQuery.setRewriteMethod(RewriteMethod) at the following locations:

   <--StdWildcardQuery.StdWildcardQuery
   <--RangeQuery.rewrite
   <–CaseTermQuery.CaseTermQuery

 

This method is buggy: https://issues.apache.org/jira/browse/LUCENE-10431

The lucene API has been deprecated:

[https://github.com/apache/lucene/pull/722]

 

To avoid the impact from such bugs, please update lucene to newer versions. 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)