Skip to content

Commit 6650c2f

Browse files
committed
add comments
1 parent bc3ae4f commit 6650c2f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/paimon/predicate/vector_search.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ struct PAIMON_EXPORT VectorSearch {
7474
/// context-aware filtering at query time.
7575
/// @note All fields referenced in the predicate must have been materialized
7676
/// in the index during build to ensure availability.
77+
/// @note For tag-based vector indexes, fields referenced by the predicate
78+
/// must keep the same names and types as the fields used during index
79+
/// construction. Indexes built with tag fields must not be reused across
80+
/// schema evolution that renames or changes those tag fields.
7781
std::shared_ptr<Predicate> predicate;
7882
/// The distance metric to use for this query, if explicitly specified.
7983
/// If set, this value must match the distance type used by the index (e.g., EUCLIDEAN, COSINE).

0 commit comments

Comments
 (0)