You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "HoustonPutman (via GitHub)" <gi...@apache.org> on 2026/09/21 23:06:45 UTC
[PR] Support floats and doubles in IndexSortSortedNumericDocValuesRangeQuery [lucene]
HoustonPutman opened a new pull request, #16699:
URL: https://github.com/apache/lucene/pull/16699
### Description
This PR fixes #16698 and adds support for floats and double in IndexSortSortedNumericDocValuesRangeQuery (both single and multivalued, via numeric and sorted_numeric docValues).
FloatField and DoubleField now use IndexSortSortedNumericDocValuesRangeQuery when creating rangeQueries. And IndexSortSortedNumericDocValuesRangeQuery has convenience methods for floats and doubles to limit confusion on what encoding should be used to convert to longs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] Support floats and doubles in IndexSortSortedNumericDocValuesRangeQuery [lucene]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #16699:
URL: https://github.com/apache/lucene/pull/16699#issuecomment-6158193445
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] Support floats and doubles in IndexSortSortedNumericDocValuesRangeQuery [lucene]
Posted by "romseygeek (via GitHub)" <gi...@apache.org>.
romseygeek commented on PR #16699:
URL: https://github.com/apache/lucene/pull/16699#issuecomment-5774084951
Having thought about this a bit more...
#16085 actually added index-sort shortcut support directly to SortedNumericDocValuesRangeQuery. So I wonder if a better way forward is to do something similar for PointRangeQuery and then deprecate IndexSortSortedNumericDocValuesRangeQuery as redundant?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] Support floats and doubles in IndexSortSortedNumericDocValuesRangeQuery [lucene]
Posted by "msokolov (via GitHub)" <gi...@apache.org>.
msokolov commented on PR #16699:
URL: https://github.com/apache/lucene/pull/16699#issuecomment-5896984756
What's the status of this? Are you actively working on it? Please go ahead and set milestone to 11.0.0 if so, or else 12.0.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] Support floats and doubles in IndexSortSortedNumericDocValuesRangeQuery [lucene]
Posted by "HoustonPutman (via GitHub)" <gi...@apache.org>.
HoustonPutman commented on PR #16699:
URL: https://github.com/apache/lucene/pull/16699#issuecomment-5780878626
I agree, when doing this I was really confused why this wasn't built in to the existing query classes. But thought I was just missing something. I'll try to get this integrated into the actual sub queries and deprecate this class.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] Support floats and doubles in IndexSortSortedNumericDocValuesRangeQuery [lucene]
Posted by "HoustonPutman (via GitHub)" <gi...@apache.org>.
HoustonPutman commented on PR #16699:
URL: https://github.com/apache/lucene/pull/16699#issuecomment-5897743739
Making progress. It should definitely make it for 11.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org