Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::BatchSearchDataObjectsRequest::CombineResultsOptions.
Options for combining the results of the batch search operations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#output_fields
def output_fields() -> ::Google::Cloud::VectorSearch::V1::OutputFields
Returns
- (::Google::Cloud::VectorSearch::V1::OutputFields) — Optional. Mask specifying which fields to return.
#output_fields=
def output_fields=(value) -> ::Google::Cloud::VectorSearch::V1::OutputFields
Parameter
- value (::Google::Cloud::VectorSearch::V1::OutputFields) — Optional. Mask specifying which fields to return.
Returns
- (::Google::Cloud::VectorSearch::V1::OutputFields) — Optional. Mask specifying which fields to return.
#ranker
def ranker() -> ::Google::Cloud::VectorSearch::V1::Ranker
Returns
- (::Google::Cloud::VectorSearch::V1::Ranker) — Required. The ranker to use for combining the results.
#ranker=
def ranker=(value) -> ::Google::Cloud::VectorSearch::V1::Ranker
Parameter
- value (::Google::Cloud::VectorSearch::V1::Ranker) — Required. The ranker to use for combining the results.
Returns
- (::Google::Cloud::VectorSearch::V1::Ranker) — Required. The ranker to use for combining the results.
#top_k
def top_k() -> ::Integer
Returns
- (::Integer) — Optional. The number of results to return. If not set, a default value will be used.
#top_k=
def top_k=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The number of results to return. If not set, a default value will be used.
Returns
- (::Integer) — Optional. The number of results to return. If not set, a default value will be used.