zvec/tests/db/index/common
egolearner aad5718112
feat(query): add VectorViewClause zero-copy path and unify validate (#478)
* feat(query): add VectorViewClause zero-copy path and unify validate

- Add VectorViewClause (string_view-based) as zero-copy counterpart to
  VectorClause; variant now holds VectorClause | VectorViewClause | FtsClause
- Add QueryTarget::get_vector_view() unified accessor via std::visit,
  returns optional<VectorViewClause> regardless of which variant is held
- Split validate_and_sanitize into QueryTarget::validate (read-only) +
  sanitize_sparse_vector (mutate); validate handles both VectorClause and
  VectorViewClause via get_vector_view()
- Collection::Query passes original request directly to sqlengine when no
  sparse sanitization is needed; only copies when sort is required
- Change build_query_info/BuildSQLInfoFromSearchQuery to take const
  SearchQuery& so VectorMatrixNode string_views point to caller's data
2026-06-22 11:32:26 +08:00
..
db_proto_converter_test.cc Initial commit 2025-12-30 11:02:17 +08:00
db_type_helper_test.cc Initial commit 2025-12-30 11:02:17 +08:00
doc_test.cc feat(query): add VectorViewClause zero-copy path and unify validate (#478) 2026-06-22 11:32:26 +08:00
index_params_test.cc feat: refact cpp sdk (#27) 2026-01-21 20:05:42 +08:00
meta_test.cc Initial commit 2025-12-30 11:02:17 +08:00
query_params_test.cc feat: refact cpp sdk (#27) 2026-01-21 20:05:42 +08:00
schema_test.cc feat: add hnsw-rabitq support (#69) 2026-03-19 17:21:42 +08:00
version_manager_test.cc refactor: support UTF-8 file paths via std::filesystem (#359) 2026-05-08 17:44:22 +08:00