Kaynağa Gözat

Remove outdated TODO from TopDocsAndMaxScore (#126386)

There are no plans to remove max_score, as highlighted in #32981 .
This commit removes a related TODO given we don't plan on addressing it.
Luca Cavanna 6 ay önce
ebeveyn
işleme
a6ffeeeb71

+ 0 - 2
server/src/main/java/org/elasticsearch/common/lucene/search/TopDocsAndMaxScore.java

@@ -14,7 +14,6 @@ import org.apache.lucene.search.TopDocs;
 /**
  * Wrapper around a {@link TopDocs} instance and the maximum score.
  */
-// TODO: Remove this class when https://github.com/elastic/elasticsearch/issues/32981 is addressed.
 public final class TopDocsAndMaxScore {
 
     public final TopDocs topDocs;
@@ -24,5 +23,4 @@ public final class TopDocsAndMaxScore {
         this.topDocs = topDocs;
         this.maxScore = maxScore;
     }
-
 }