You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/03/17 09:24:00 UTC
[jira] [Commented] (CAMEL-23141) Upgrade to Lucene 10.x
[ https://issues.apache.org/jira/browse/CAMEL-23141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066277#comment-18066277 ]
Guillaume Nodet commented on CAMEL-23141:
-----------------------------------------
If needed, a possibility would be to create a {{camel-lucene10}} component.
> Upgrade to Lucene 10.x
> ----------------------
>
> Key: CAMEL-23141
> URL: https://issues.apache.org/jira/browse/CAMEL-23141
> Project: Camel
> Issue Type: Task
> Components: camel-lucene
> Affects Versions: 4.19.0
> Reporter: Aurélien Pupier
> Assignee: Jono Morris
> Priority: Major
>
> initially it wasn't upgraded as JDK 21 was the minimal version https://github.com/apache/camel/pull/15953#issuecomment-2413256602
> we can now upgrade with Camel 4.19
> Note that there are also some API break to adapt:
> {noformat}
> Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile) on project camel-lucene: Compilation failure: Compilation failure:
> Error: /home/runner/work/camel/camel/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:[72,54] cannot find symbol
> Error: symbol: method doc(int)
> Error: location: variable indexSearcher of type org.apache.lucene.search.IndexSearcher
> Error: /home/runner/work/camel/camel/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:[92,62] cannot find symbol
> Error: symbol: method create(int,int)
> Error: location: class org.apache.lucene.search.TopScoreDocCollector
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)