Repository navigation
Minor Changes
-
b4a6844: Enhanced Codebase Indexing and Search Capabilities
This release brings significant improvements to code parsing, indexing quality, and search performance.
Intelligent Indexing Improvements
- Chunk Quality Filtering: Automatically filters out 20-40% of low-quality code chunks (closing tags, empty sections, boilerplate) before indexing, improving search relevance
- Embedding Enrichment: Adds contextual metadata (file path, type, name, parameters) to code embeddings for better semantic understanding
- Advanced Path Optimization: Implements path segment decomposition for 6.7x faster directory-scoped searches
- HNSW Tuning: Optimized vector search parameters (m=64, ef_construct=512, hnsw_ef=128) for 30-40% better recall
Enhanced Language Support
- Java Extractor: Full support for classes, interfaces, enums, methods, constructors, and fields with modifiers, generics, and exceptions
- Go Extractor: Comprehensive extraction of functions, methods, structs, interfaces, type aliases, and exported symbols
- Kotlin & Swift: Added language registry support for .kt, .kts, and .swift files
TypeScript/JavaScript Parser Enhancements
- Test Framework Detection: Extracts test blocks (describe, it, test, beforeEach, afterEach, etc.) with descriptions for better test suite indexing
- Namespace/Module Extraction: Proper extraction of TypeScript namespace and module declarations
- Interface Method Signatures: Extracts individual methods from interfaces for granular API documentation
- Public Field Extraction: Captures class properties with visibility, static, and readonly modifiers
- JSX Filtering: Intelligently filters pure JSX markup while preserving components with event handlers, hooks, or conditional logic
- Enhanced Method Detection: Identifies constructors, getters, setters, and abstract methods with rich metadata
- Abstract Class Support: Properly detects and marks abstract class declarations
Search Performance
- Directory Filtering: New
directoryPrefixparameter for limiting searches to specific directories (e.g., only search in "src/components") - Payload Indexes: Created efficient indexes on type, language, and path segments for faster filtering
- Metadata Exclusion: Automatically excludes metadata points from search results
Bug Fixes
- Fixed unnecessary escape characters in regex patterns for linter compliance
Breaking Changes
None - all changes are backward compatible.