apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.45k stars 975 forks source link

Integrate merge-time index reordering with the intra-merge executor. #13289

Open jpountz opened 2 months ago

jpountz commented 2 months ago

Index reordering can benefit greatly from parallelism, so it should try to use the intra-merge executor when possible. Because the API only exposes an Executor and not a ForkJoinPool, parallelism is a bit less good due to some threads potentially waiting for tasks to finish when they could be doing work stealing instead. We should look into whether we can improve this in the future.

github-actions[bot] commented 2 months ago

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!