get_stats
get_stats
Return statistics about the search index, including chunk counts, file counts, average chunk size, file type distribution, language distribution, and index configuration.
Parameters
None.
Returns
dict[str, Any] — A dictionary containing:
total_chunks(int) — total number of chunks in the indextotal_files(int) — number of distinct source filesavg_chunk_size(int) — average chunk size in charactersfile_types(dict) — count of files by type (markdown, python, etc.)languages(dict) — count of chunks by languageconfig(dict) — index configuration