WeKnora/internal/application/repository/retriever
wizardchen 092044b68f refactor(postgres): optimize vector retrieval and HNSW settings
- Adjusted the expanded TopK limit to a maximum of 200 candidates to enhance HNSW efficiency.
- Updated the vector retrieval query to ensure the ORDER BY expression matches the indexed expression, improving index usage.
- Implemented local settings for HNSW's ef_search and iterative_scan within a transaction to optimize candidate retrieval.
- Added fallback logic to handle unsupported GUCs gracefully, ensuring query execution continues even with older pgvector versions.

These changes improve the performance and reliability of vector retrieval in the PostgreSQL implementation.
2026-04-17 12:11:03 +08:00
..
elasticsearch feat(elasticsearch): enhance ID field handling with dynamic suffix detection 2026-04-02 15:26:34 +08:00
milvus fix: make Milvus vector metric type configurable via MILVUS_METRIC_TYPE 2026-03-25 21:20:49 +08:00
neo4j fix: revert to neo4j v6 and workaround Go 1.24 Windows compiler bug with -p=1 2026-04-11 22:08:02 +08:00
postgres refactor(postgres): optimize vector retrieval and HNSW settings 2026-04-17 12:11:03 +08:00
qdrant refactor: update storage size calculations for vector embeddings 2026-03-09 13:23:16 +08:00
sqlite fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling 2026-04-11 18:51:16 +08:00
weaviate Fix compile error in weaviate repository 2026-04-16 18:37:31 +08:00