pub async fn post_code_index(
configuration: &Configuration,
index_in: IndexIn,
) -> Result<IndexResult, Error<PostCodeIndexError>>Expand description
(re)indexes a repository for the caller’s org, incrementally: files whose content hash is unchanged are skipped, so re-sending a whole tree is cheap. Each file is parsed for symbols, split at AST boundaries and — when the semantic tier is available — embedded, which is what makes it searchable across all three retrieval tiers. Pass prune to also DELETE indexed files absent from the request, which turns the call into a full sync; without it the call is an upsert. The index is written to the caller org’s own physically separate database.