Exception: Parse::VectorSearch::ConstraintNotSupported
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Parse::VectorSearch::ConstraintNotSupported
- Defined in:
- lib/parse/vector_search.rb
Overview
Raised when a ‘Parse::Query` constraint is built against a declared `:vector` property using an operator other than the narrow allow-list (`:exists`, `:null`). Vector fields are dense numeric arrays — equality, range, `$in`, and friends will either return nonsense or do something the caller did not intend. The right way to query a `:vector` is Core::VectorSearchable#find_similar, which routes through Atlas `$vectorSearch`. Inherits from ArgumentError so it joins InvalidQueryVector and the inline bad-input raises in a single rescue boundary.