45 : vector_queries_{ std::move(vector_queries) }
48 if (vector_queries_.empty()) {
49 throw std::invalid_argument(
"At least one vector query must be specified");
83 [[nodiscard]]
auto encode() const -> encoded_search_query;
Definition vector_query.hxx:29
A vector_search allows one or more vector_query to be executed.
Definition vector_search.hxx:32
vector_search(std::vector< vector_query > vector_queries, vector_search_options options={})
Will execute all of the provided vector_queries, using the specified options.
Definition vector_search.hxx:43
auto encode() const -> encoded_search_query
vector_search_options::built options() const
Fetches the vector_search_options.
Definition vector_search.hxx:72
vector_search(vector_query query)
Will execute a single vector_query, using default options.
Definition vector_search.hxx:61
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
@ query
The Query service (SQL++)
Immutable value object representing consistent options.
Definition vector_search_options.hxx:41
Options related to executing a vector_search.
Definition vector_search_options.hxx:33