vigyasharma commented on PR #13202:
URL: https://github.com/apache/lucene/pull/13202#issuecomment-2016566261

   > If we had set a timeout, and HNSW searches turned out too expensive -- we 
would not return results even after the search completes (because the timeout 
is [checked before attempting to score 
docs](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/search/TimeLimitingBulkScorer.java#L79-L82)
 -- at which point we have all possible results, but they aren't returned)
   
   Is this because we have already exhausted our query timeout during rewrite, 
and so we throw a `TimeExceededException` and bail before scoring docs for even 
the [first 
chunk](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/search/TimeLimitingBulkScorer.java#L71-L84)?


-- 
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-unsubscr...@lucene.apache.org

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


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

Reply via email to