iverase commented on code in PR #16070:
URL: https://github.com/apache/lucene/pull/16070#discussion_r3247415456
##########
lucene/core/src/java/org/apache/lucene/document/SortedSetDocValuesRangeQuery.java:
##########
@@ -167,120 +168,39 @@ private ScorerSupplier
getScorerSupplierFromDensePrimarySort(
SortedDocValues singleton,
SortedSetDocValues values,
DocValuesSkipper skipper) {
- final Sort indexSort = context.reader().getMetaData().sort();
- return new ConstantScoreScorerSupplier(score(), scoreMode,
context.reader().maxDoc()) {
- int skipperMinDocId = -1, skipperMaxDocId = -1;
- long minOrd, maxOrd;
- boolean skipperMinDocIdExact = false, skipperMaxDocIdExact = false;
+ final SortField sortField =
context.reader().getMetaData().sort().getSort()[0];
Review Comment:
done
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]