You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/12/20 19:10:32 UTC

[GitHub] [lucene] rmuir commented on issue #12026: CollectionTerminationException is used for flow control

rmuir commented on issue #12026:
URL: https://github.com/apache/lucene/issues/12026#issuecomment-1360035214

   It is harmless, it isn't a performance issue really, it only happens at most once per segment. Exception is the correct mechanism as it is an exceptional case to bail on processing here.
   
   I don't think we should use a more complex abstraction for early-termination. I know this may go against the java religious principles, but simpler trumps all.


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org