You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "javanna (via GitHub)" <gi...@apache.org> on 2023/05/08 19:10:40 UTC

[GitHub] [lucene] javanna commented on issue #12275: Clarify IndexSearcher#setTimeout semantics

javanna commented on issue #12275:
URL: https://github.com/apache/lucene/issues/12275#issuecomment-1538902519

   I also noticed that the `isPartial` flag is set to `true` whenever a timeout happens but never set back to `false`. Does that come from the expectation that once a search has timed out no more searches would be executed using the same searcher? Users can read the value through the `timedOut` method and decide not to run further searches, but if they do go ahead, they won't be able to know if  subsequent search operations have timed out or not after one has. How do we expect users to interact with the `timedOut` method?
   


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