This enables shard merging by default for zoekt-sourcegraph-indexserver.
Sourcegraph has been using shard merging in production for several years. We have recently confirmed significant performance improvements for queries which are bound by matchTree construction.
I also remove -merge_max_priority because we have stopped using it.
Use SRC_DISABLE_SHARD_MERGING to disable shard merging.
Test plan:
mostly CI, I did some manual testing to confirm that shard merging is enabled by default for zoekt-sourcegraph-indexserver.
Relates to SPLF-175
This enables shard merging by default for zoekt-sourcegraph-indexserver.
Sourcegraph has been using shard merging in production for several years. We have recently confirmed significant performance improvements for queries which are bound by
matchTree
construction.I also remove
-merge_max_priority
because we have stopped using it.Use
SRC_DISABLE_SHARD_MERGING
to disable shard merging.Test plan: mostly CI, I did some manual testing to confirm that shard merging is enabled by default for zoekt-sourcegraph-indexserver.