benwtrent commented on PR #14226: URL: https://github.com/apache/lucene/pull/14226#issuecomment-2704331980
> Net/net I think we ought to be adding some multithreaded test capability to KnnGraphTester. Agreed, I think a "num_search_threads" parameter would be beneficial. Then the searcher that is created can have a fixed executor `ExecutorService executorService = num_search_threads > 1 ? Executors.newFixedThreadPool(num_search_threads) : null;` passed to it in `testSearch`. ``` IndexSearcher searcher = new IndexSearcher(reader, executorService); ``` -- 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