jpountz commented on PR #13359: URL: https://github.com/apache/lucene/pull/13359#issuecomment-2112625165
I iterated a bit on this change: - `TermsEnum#prepareSeekExact` is introduced, which only prefetches data which is later going to be needed by `TermsEnum#seekExact`. - `TermStates#build` no longer runs on the `IndexSearcher` threadpool, but in the current thread, leveraging `TermsEnum#prepareSeekExact` to parallelize I/O across all terms and segments. - `TermQuery` and `SynonymQuery` call `TermsEnum#prepareSeekExact` in `Weight#scorerSupplier` so that the I/O associated with terms dictionary lookups is parallelized across clauses of the same `BooleanQuery`. -- 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