Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::Search.
A single search request within a batch operation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#semantic_search
def semantic_search() -> ::Google::Cloud::VectorSearch::V1::SemanticSearch-
(::Google::Cloud::VectorSearch::V1::SemanticSearch) — A semantic search.
Note: The following fields are mutually exclusive:
semantic_search,vector_search,text_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
#semantic_search=
def semantic_search=(value) -> ::Google::Cloud::VectorSearch::V1::SemanticSearch-
value (::Google::Cloud::VectorSearch::V1::SemanticSearch) — A semantic search.
Note: The following fields are mutually exclusive:
semantic_search,vector_search,text_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VectorSearch::V1::SemanticSearch) — A semantic search.
Note: The following fields are mutually exclusive:
semantic_search,vector_search,text_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_search
def text_search() -> ::Google::Cloud::VectorSearch::V1::TextSearch-
(::Google::Cloud::VectorSearch::V1::TextSearch) — A text search operation.
Note: The following fields are mutually exclusive:
text_search,vector_search,semantic_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_search=
def text_search=(value) -> ::Google::Cloud::VectorSearch::V1::TextSearch-
value (::Google::Cloud::VectorSearch::V1::TextSearch) — A text search operation.
Note: The following fields are mutually exclusive:
text_search,vector_search,semantic_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VectorSearch::V1::TextSearch) — A text search operation.
Note: The following fields are mutually exclusive:
text_search,vector_search,semantic_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
#vector_search
def vector_search() -> ::Google::Cloud::VectorSearch::V1::VectorSearch-
(::Google::Cloud::VectorSearch::V1::VectorSearch) — A vector-based search.
Note: The following fields are mutually exclusive:
vector_search,semantic_search,text_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
#vector_search=
def vector_search=(value) -> ::Google::Cloud::VectorSearch::V1::VectorSearch-
value (::Google::Cloud::VectorSearch::V1::VectorSearch) — A vector-based search.
Note: The following fields are mutually exclusive:
vector_search,semantic_search,text_search. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VectorSearch::V1::VectorSearch) — A vector-based search.
Note: The following fields are mutually exclusive:
vector_search,semantic_search,text_search. If a field in that set is populated, all other fields in the set will automatically be cleared.