Skip to content

Incompatibility in FullTextLucene with Lucene version 10.x onward #4225

@Hel959

Description

@Hel959

Class FullTextLucene reads the variable "totalHits.value" from the org.apache.lucene.search.TotalHits class.

Until version 9.12.1 this was a public field "value".
From version 10.x onward TotalHits is a public record, so the access should be done with "TotalHits.value()"

Transition would be easier if the lucene project would add a public getter method "value()" to the last 9.x version.
But this is maybe to late because the announced that 9.12.1 is the last 9.x version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions