diff --git a/src/cocoindex_code/indexer.py b/src/cocoindex_code/indexer.py index 4596011..1ef72e6 100644 --- a/src/cocoindex_code/indexer.py +++ b/src/cocoindex_code/indexer.py @@ -14,9 +14,9 @@ from .shared import CODEBASE_DIR, EMBEDDER, EXT_LANG_OVERRIDE_MAP, SQLITE_DB, CodeChunk # Chunking configuration -CHUNK_SIZE = 2000 -MIN_CHUNK_SIZE = 300 -CHUNK_OVERLAP = 200 +CHUNK_SIZE = 800 +MIN_CHUNK_SIZE = 200 +CHUNK_OVERLAP = 150 # Chunking splitter (stateless, can be module-level) splitter = RecursiveSplitter()