This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
☂️ Search: improve Zoekt indexing #58133
Closed
Description
Zoekt can sometimes fail to index large repos because of timeouts or memory issues. This can result in missing or out-of-date search results. There’s also little visibility into the indexing process: we don't report progress or surface errors clearly, and we don't have good observability tools for debugging problems. This issue tracks a round of improvements we want to make to search indexing.
Indexing performance
- Profile indexing for a large test repo to determine cause of high memory consumption + latency
- Indexing: improve skipped doc handling zoekt#687
- Indexing: improve doc content checks zoekt#688
- Profile universal-ctags vs. scip-ctags to determine priority of supporting scip-ctags for more languages
- https://github.com/sourcegraph/sourcegraph/issues/58112
Indexing observability
- https://github.com/sourcegraph/sourcegraph/pull/57903
- Debug: make indexing timeout configurable zoekt#676
- ctags: monitor symbol analysis and report stuck documents zoekt#678
- https://github.com/sourcegraph/sourcegraph/issues/57337
Squash bugs
- Indexing: respect indexing buffer limit zoekt#686
- Indexing: properly block on shard building zoekt#689
- https://github.com/sourcegraph/sourcegraph/issues/57407
- Indexing: limit shard parallelism when index concurrency is set zoekt#699
- ctags: require scip-ctags to be present zoekt#700
/cc @sourcegraph/search-platform