zvec/tests/db
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
..
common fix: rename LogLevel enums to kStyle to avoid windows.h ERROR macro conflict (#435) 2026-06-02 11:32:50 +08:00
crash_recovery feat: support zvec core-only build (#481) 2026-06-09 23:45:42 +08:00
index feat(query): add VectorViewClause zero-copy path and unify validate (#478) 2026-06-22 11:32:26 +08:00
sqlengine feat(query): add VectorViewClause zero-copy path and unify validate (#478) 2026-06-22 11:32:26 +08:00
CMakeLists.txt feat: support zvec core-only build (#481) 2026-06-09 23:45:42 +08:00
collection_test.cc refactor: make Reranker stateless with std::variant value semantics (… (#471) 2026-06-09 12:44:17 +08:00
fts_query_test.cc feat: add fts support (#408) 2026-06-01 15:02:54 +08:00
reranker_test.cc refactor: make Reranker stateless with std::variant value semantics (… (#471) 2026-06-09 12:44:17 +08:00
utf8_collection_test.cc refactor: support UTF-8 file paths via std::filesystem (#359) 2026-05-08 17:44:22 +08:00