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