slow-J commented on code in PR #12640:
URL: https://github.com/apache/lucene/pull/12640#discussion_r1389238790
##########
lucene/facet/src/java/org/apache/lucene/facet/DrillSidewaysScorer.java:
##########
@@ -145,22 +144,30 @@ public int score(LeafCollector collector, Bits
acceptDocs, int min, int maxDoc)
}
*/
- if (scoreSubDocsAtOnce || baseQueryCost < drillDownCost / 10) {
- // System.out.println("queryFirst: baseScorer=" + baseScorer + "
disis.length=" + disis.length
- // + " bits.length=" + bits.length);
- // position base scorer to the first matching doc
- baseApproximation.nextDoc();
- doQueryFirstScoring(acceptDocs, collector, dims);
- } else if (numDims > 1 && drillDownAdvancedCost < baseQueryCost / 10) {
- // System.out.println("drillDownAdvance");
- // position base scorer to the first matching doc
- baseIterator.nextDoc();
- doDrillDownAdvanceScoring(acceptDocs, collector, dims);
- } else {
- // System.out.println("union");
- // position base scorer to the first matching doc
- baseIterator.nextDoc();
- doUnionScoring(acceptDocs, collector, dims);
+ try {
+ if (scoreSubDocsAtOnce || baseQueryCost < drillDownCost / 10) {
+ // System.out.println("queryFirst: baseScorer=" + baseScorer + "
disis.length=" +
+ // disis.length
+ // + " bits.length=" + bits.length);
Review Comment:
```suggestion
// System.out.println("queryFirst: baseScorer=" + baseScorer + "
disis.length="
// + disis.length + " bits.length=" + bits.length);
```
--
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]