Skip to content
This repository was archived by the owner on Oct 17, 2018. It is now read-only.
This repository was archived by the owner on Oct 17, 2018. It is now read-only.

Errors during the update of lucene version (from 5.3.2 to 6.5.1) #78

@MargotPiva

Description

@MargotPiva

The class NumericRangeQuery (https://lucene.apache.org/core/5_2_1/core/org/apache/lucene/search/NumericRangeQuery.html) no longer exists which caused errors in LuceneUtils.
Instead of this class, we should use the PointRangeQuery class but it does not implement the inclusion/exclusion of the upper/lower bound.

As a temporary fix we have implemented a simplified version of NumericRangeQuery that extends Query instead of MultiTermQuery. We have changed the package on LuceneUtils and tested this new class in TestLuceneUtils.

NumericRangeQuery is marked as deprecated and will be deleted when we make the transition with PointRangeQuery.

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