Project

General

Profile

Actions

feature request #10069

open

Upgrade hibernate search and lucene to hs6+ and lucene 8+

Added by Andreas Müller 8 months ago. Updated 8 months ago.

Status:
New
Priority:
New
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Tags:

Description

Lucene 6+ seems to require hs6+ as there is a strange dependency on org.apache.lucene.document.Field.Index and ...Field.TermVector which creates runtime ClassNotFound exceptions even when trying to avoid classes like eu.etaxonomy.cdm.hibernate.search.IdFieldOptions.
This is because the lucene interface LuceneOptions still uses these classes as return type though they do not exist anymore.

But maybe it is possible to fully remove LuceneOptions and solve the problem this way (hmm, probably not possible because it is used in the org.hibernate.search.bridge.FieldBridge interface).

https://hibernate.org/search/documentation/migrate/
https://docs.jboss.org/hibernate/search/6.0/migration/html_single/
https://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/
https://lucene.apache.org/core/8_0_0/changes/Changes.html#v8.0.0.api_changes
https://lucene.apache.org/core/7_3_1/core/org/apache/lucene/index/IndexOptions.html
https://lucene.apache.org/core/5_4_1/core/org/apache/lucene/document/Field.TermVector.html

Luke:
https://github.com/DmitryKey/luke/releases
Starting from lucene 8 luke is included in lucene: https://lucene.apache.org/core/downloads.html


Related issues

Related to EDIT - task #10067: Update to hibernate 5.4 (or higher) and hibernate search 5.11 and lucene 5.5ClosedAndreas Müller05/23/202206/01/2022

Actions
Related to EDIT - task #10055: Updates, upgrades and cleanup 2023NewAndreas Müller

Actions
Related to EDIT - feature request #10070: Upgrade to hibernate 6+NewAndreas Müller

Actions
Actions #1

Updated by Andreas Müller 8 months ago

  • Description updated (diff)
Actions #2

Updated by Andreas Müller 8 months ago

  • Related to task #10067: Update to hibernate 5.4 (or higher) and hibernate search 5.11 and lucene 5.5 added
Actions #3

Updated by Andreas Müller 8 months ago

  • Related to task #10055: Updates, upgrades and cleanup 2023 added
Actions #4

Updated by Andreas Müller 8 months ago

  • Description updated (diff)
Actions #5

Updated by Andreas Müller 8 months ago

  • Description updated (diff)
Actions #6

Updated by Andreas Müller 8 months ago

Actions

Also available in: Atom PDF