mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:51:57 +00:00
This PR updates the codeintel worker, and lsifstore, to begin actually writing API docs data to the new `lsif_data_documentation_search_public` and `lsif_data_documentation_search_private` Postgres FTS tables when new LSIF bundles are uploaded. This is on by default, but can be disabled via the new site config feature flag `"apidocs.search.indexing": "disabled"`. These tables are for _API docs search indexing only_, and to prevent any scaling issues / not break the DB, the default configuration `"apidocs.search.index-size-limit-factor": 1.0` limits the size of each table independently to 250 million symbols (rows) (500 million across both tables, approx. 12.5k Go repos total). This was arrived at through [some estimation documented in the architecture design doc.](https://github.com/sourcegraph/sourcegraph/blob/main/doc/dev/background-information/codeintel/apidocs/index.md#scaling-estimation) For more details see [the architecture docs](https://github.com/sourcegraph/sourcegraph/blob/main/doc/dev/background-information/codeintel/apidocs/index.md#search-architecture) and [the PR description](https://github.com/sourcegraph/sourcegraph/pull/25720#issue-750526032). Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com> |
||
|---|---|---|
| .. | ||
| apidocs | ||
| diagrams | ||
| auto-indexing.md | ||
| CODENOTIFY | ||
| deployment.md | ||
| extensions.md | ||
| index.md | ||
| queries.md | ||
| uploads.md | ||