javasoze commented on issue #15477:
URL: https://github.com/apache/lucene/issues/15477#issuecomment-3618137046

   Yup, empty marker interface does exactly the samething, annotation is just 
prettier and allows for future parameters support. But in this context, no 
difference.
   
   DocIdStreams are like iterators, it can be only scanned through once. But 
nothing in the api that prohibits it to be reused.
   
   If we were to pass the same DocIdStream to multiple aggregators, without 
knowing it can be replayed, it needs to be reconstructed.


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