You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by be...@apache.org on 2026/02/18 20:03:41 UTC

(lucene) branch 10_4/sort/keyword-skipper-set-scorer created (now 5834b52e2cb)

This is an automated email from the ASF dual-hosted git repository.

benwtrent pushed a change to branch 10_4/sort/keyword-skipper-set-scorer
in repository https://gitbox.apache.org/repos/asf/lucene.git


      at 5834b52e2cb Updating competitive iterator when scorer is set

This branch includes the following new commits:

     new 5834b52e2cb Updating competitive iterator when scorer is set

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(lucene) 01/01: Updating competitive iterator when scorer is set

Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

benwtrent pushed a commit to branch 10_4/sort/keyword-skipper-set-scorer
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 5834b52e2cb3ad29262a1eb5490c3927445fc6ae
Author: Benjamin Trent <43...@users.noreply.github.com>
AuthorDate: Wed Feb 18 15:03:10 2026 -0500

    Updating competitive iterator when scorer is set
---
 .../org/apache/lucene/search/comparators/TermOrdValComparator.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lucene/core/src/java/org/apache/lucene/search/comparators/TermOrdValComparator.java b/lucene/core/src/java/org/apache/lucene/search/comparators/TermOrdValComparator.java
index e25dab5a462..7a971b40df7 100644
--- a/lucene/core/src/java/org/apache/lucene/search/comparators/TermOrdValComparator.java
+++ b/lucene/core/src/java/org/apache/lucene/search/comparators/TermOrdValComparator.java
@@ -395,7 +395,9 @@ public class TermOrdValComparator extends FieldComparator<BytesRef> {
     }
 
     @Override
-    public void setScorer(Scorable scorer) {}
+    public void setScorer(Scorable scorer) throws IOException {
+      updateCompetitiveIterator();
+    }
 
     private void updateCompetitiveIterator() throws IOException {
       if (competitiveState == null || hitsThresholdReached == false || bottomSlot == -1) {