API docs: codeintel: begin indexing API docs for search
Created by: slimsag
Depends on #25198 and #25199
Begins writing API docs data to the new lsif_data_documentation_search_*
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"
.
Additionally, the default configuration "apidocs.search.index-size-limit-factor": 1.0
limits the search index size to 250 million symbols (approx. 12.5k Go repos) as a precaution so as to not break the DB. We'll relax this once the picture of scaling is more clear.
See the architecture docs added in #25197 for more details, and #25199 for details on the DB schema itself.
Helps #25193
Signed-off-by: Stephen Gutekanst [email protected]