zvec/python/tests
egolearner 439dd10f5e
feat(query): support FTS + vector hybrid retrieval in MultiQuery (#459)
Previously MultiQuery only accepted vector sub-queries by using
get_vector_field() to look up each sub-query's field. FTS sub-queries
(whose field_name points to an FTS-indexed string column) would fail
with "Vector field not found".

Changes:
- collection.cc: use get_field() uniformly in MultiQuery path; let
  validate_and_sanitize() check type compatibility internally, which
  is consistent with the single-query path.
- query_executor.py: allow SingleVectorQueryExecutor to accept
  multi-query when it contains an FTS query (with reranker), and route
  to C++ MultiQuery fast path.
- Add test_collection_fts_vector_hybrid.py covering hybrid retrieval
  ranking, scoring, filter, validation, and edge cases.
2026-06-03 21:17:49 +08:00
..
detail fix: sync querier schema after column DDL to fix empty query fields (#429) 2026-05-29 17:36:30 +08:00
test_collection.py feat: migrate multi-vector query and reranker logic to C++ (#405) 2026-05-29 10:10:41 +08:00
test_collection_fts.py feat: add fts support (#408) 2026-06-01 15:02:54 +08:00
test_collection_fts_vector_hybrid.py feat(query): support FTS + vector hybrid retrieval in MultiQuery (#459) 2026-06-03 21:17:49 +08:00
test_collection_hnsw_rabitq.py deprecate python VectorQuery (#267) 2026-05-12 14:55:49 +08:00
test_convert.py Initial commit 2025-12-30 11:02:17 +08:00
test_doc.py Initial commit 2025-12-30 11:02:17 +08:00
test_embedding.py feat: enlarge topK limit (#348) 2026-04-17 17:51:07 +08:00
test_fts_query.py feat: add fts support (#408) 2026-06-01 15:02:54 +08:00
test_gil_release.py Refactor CPU feature detection to use an explicit x86 whitelist (#258) 2026-06-02 11:51:25 +08:00
test_hnsw_contiguous_memory.py ut: fix some uts (#394) 2026-05-12 19:04:33 +08:00
test_jieba_default_dict.py feat: add fts support (#408) 2026-06-01 15:02:54 +08:00
test_params.py deprecate python VectorQuery (#267) 2026-05-12 14:55:49 +08:00
test_query_executor.py feat(query): support FTS + vector hybrid retrieval in MultiQuery (#459) 2026-06-03 21:17:49 +08:00
test_reranker.py feat: migrate multi-vector query and reranker logic to C++ (#405) 2026-05-29 10:10:41 +08:00
test_schema.py fix: fix default m (#20) 2026-01-12 10:22:58 +08:00
test_typing.py Initial commit 2025-12-30 11:02:17 +08:00
test_util.py feat: support ai extension (#88) 2026-02-12 18:33:41 +08:00
test_vamana.py ut: fix some uts (#394) 2026-05-12 19:04:33 +08:00