You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Named vector remains aligned with the MCP server (fast-bge-base-en-v1.5). If you change EMBEDDING_MODEL, run `make reindex` to recreate the collection.
764
772
- For very large repos, consider running `make index` on a schedule (or pre-commit) to keep Qdrant warm without full reingestion.
765
773
774
+
### Multi-repo indexing (unified search)
775
+
776
+
The stack uses a **single unified `codebase` collection** by default, making multi-repo search seamless:
777
+
778
+
**Index another repo into the same collection:**
779
+
```bash
780
+
# From your qdrant directory
781
+
make index-here HOST_INDEX_PATH=/path/to/other/repo REPO_NAME=other-repo
782
+
783
+
# Or with full control:
784
+
HOST_INDEX_PATH=/path/to/other/repo \
785
+
COLLECTION_NAME=codebase \
786
+
REPO_NAME=other-repo \
787
+
docker compose run --rm indexer --root /work
788
+
```
789
+
790
+
**What happens:**
791
+
- Files from the other repo get indexed into the unified `codebase` collection
792
+
- Each file is tagged with `metadata.repo = "other-repo"` for filtering
793
+
- Search across all repos by default, or filter by specific repo
794
+
795
+
**Search examples:**
796
+
```bash
797
+
# Search across all indexed repos
798
+
make hybrid QUERY="authentication logic"
799
+
800
+
# Filter by specific repo
801
+
python scripts/hybrid_search.py \
802
+
--query "authentication logic" \
803
+
--repo other-repo
804
+
805
+
# Filter by repo + language
806
+
python scripts/hybrid_search.py \
807
+
--query "authentication logic" \
808
+
--repo other-repo \
809
+
--language python
810
+
```
811
+
812
+
**Benefits:**
813
+
- One collection = unified search across all your code
814
+
- No fragmentation or collection management overhead
815
+
- Filter by repo when you need isolation
816
+
- All repos share the same vector space for better semantic search
817
+
766
818
### Multi-query re-ranker (no new deps)
767
819
768
820
- Run a fused query with several phrasings and metadata-aware boosts:
@@ -1296,6 +1348,39 @@ Client tips:
1296
1348
1297
1349
## Troubleshooting
1298
1350
1351
+
### Collection Health & Cache Sync
1352
+
1353
+
The stack includes automatic health checks that detect and fix cache/collection sync issues:
0 commit comments