IndexSearcher was recently updated to make the calling thread contribute to search execution. This means that searching with an executor of 8 threads uses 9 threads in practice if IndexSearcher#search is called from outside of the executor. This change moves the IndexSearcher#search call to the executor to better honor luceneutil's -searchConcurrency parameter.
IndexSearcher was recently updated to make the calling thread contribute to search execution. This means that searching with an executor of 8 threads uses 9 threads in practice if
IndexSearcher#search
is called from outside of the executor. This change moves theIndexSearcher#search
call to the executor to better honor luceneutil's-searchConcurrency
parameter.