HoustonPutman commented on code in PR #3222:
URL: https://github.com/apache/solr/pull/3222#discussion_r2124888615


##########
solr/core/src/java/org/apache/solr/search/DocIterator.java:
##########
@@ -24,7 +24,7 @@
  * <p>The order of the documents is determined by the context in which the 
DocIterator instance was
  * retrieved.
  */
-public interface DocIterator extends Iterator<Integer> {
+public interface DocIterator extends Iterator<Integer>, DocIterationInfo {

Review Comment:
   We can certainly add `hasScore()` as well. But I think the 
`DocIterationInfo` is a useful interface, so that we can cleanly add new inputs 
to DocTransformers in the future.



-- 
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]

Reply via email to