jpountz commented on PR #11875: URL: https://github.com/apache/lucene/pull/11875#issuecomment-1309017859
I'm somewhat familiar with this code, I wonder if it could be refactored in such a way that it would directly leverage Lucene's timeout support, e.g. can the logic that uses live docs to drive iteration be folded into the weight wrapper? Then it should be possible to use the existing `IndexSearcher#search` logic as-is? I wouldn't like to make more classes visible in Lucene than necessary for something that feels like it would be better addressed in Elasticsearch. -- 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