You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "RamakrishnaChilaka (via GitHub)" <gi...@apache.org> on 2025/08/28 10:15:20 UTC
[PR] early exit in SortedNumericDocValuesRangeQuery & SortedSetDocValuesRangeQuery [lucene]
RamakrishnaChilaka opened a new pull request, #15135:
URL: https://github.com/apache/lucene/pull/15135
Skipping segments if segment's min and max are out of range of the query
--
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] early exit in SortedNumericDocValuesRangeQuery & SortedSetDocValuesRangeQuery [lucene]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #15135:
URL: https://github.com/apache/lucene/pull/15135#issuecomment-3232879390
This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR.
--
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] early exit in SortedNumericDocValuesRangeQuery & SortedSetDocValuesRangeQuery [lucene]
Posted by "jpountz (via GitHub)" <gi...@apache.org>.
jpountz commented on PR #15135:
URL: https://github.com/apache/lucene/pull/15135#issuecomment-3233006000
This doesn't seem to be saving much work, does it?
--
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] early exit in SortedNumericDocValuesRangeQuery & SortedSetDocValuesRangeQuery [lucene]
Posted by "RamakrishnaChilaka (via GitHub)" <gi...@apache.org>.
RamakrishnaChilaka commented on PR #15135:
URL: https://github.com/apache/lucene/pull/15135#issuecomment-3233139036
Thanks for review @jpountz.
For example, if the docValues are sorted in ascending order, and lowerValue & upperValue is greater than the max of the segment. We would call advance [SortedNumericDocValuesRangeQuery, L#259]( https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/document/SortedNumericDocValuesRangeQuery.java#L259), exhausting the skipper. Subsequent calls to nextDoc is almost no-op and calling advance on the upperValue is almost a no-op too.
TLDR, For ascending/descending-sorted segments, in this PR, we skip skipper.advance call which would exhaust the skipper, if lowerValue and upperValue are out of range.
--
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] early exit in SortedNumericDocValuesRangeQuery & SortedSetDocValuesRangeQuery [lucene]
Posted by "RamakrishnaChilaka (via GitHub)" <gi...@apache.org>.
RamakrishnaChilaka closed pull request #15135: early exit in SortedNumericDocValuesRangeQuery & SortedSetDocValuesRangeQuery
URL: https://github.com/apache/lucene/pull/15135
--
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