You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
For your information, Hibernate Search isn't compatible with Lucene 6.0 yet, and by this I mean we didn't even look at what would be required to migrate it. You may get in a lot of trouble by attempting to make this work.
Of course, if you are moving away from Hibernate Search, my comment is not relevant.
Effectively we make a mistake when we choose target versions to update dependencies. I agree not to select Lucene 6.0 as target version, and that Hibernate Search's requirements should be used to select Lucene's version.
@MargotPiva please cancel your lucene's version update and do it consistently with Hibernate Search requirements. @gsmet@yrodiere thanks for your warning.
Thanks.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: