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