Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RankSignals.
A set of ranking signals.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#boosting_factor
def boosting_factor() -> ::Float
Returns
- (::Float) — Combined custom boosts for a doc.
#boosting_factor=
def boosting_factor=(value) -> ::Float
Parameter
- value (::Float) — Combined custom boosts for a doc.
Returns
- (::Float) — Combined custom boosts for a doc.
#custom_signals
def custom_signals() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RankSignals::CustomSignal>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RankSignals::CustomSignal>) — A list of custom clearbox signals.
#custom_signals=
def custom_signals=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RankSignals::CustomSignal>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RankSignals::CustomSignal>) — A list of custom clearbox signals.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RankSignals::CustomSignal>) — A list of custom clearbox signals.
#default_rank
def default_rank() -> ::Float
Returns
- (::Float) — The default rank of the result.
#default_rank=
def default_rank=(value) -> ::Float
Parameter
- value (::Float) — The default rank of the result.
Returns
- (::Float) — The default rank of the result.
#document_age
def document_age() -> ::Float
Returns
- (::Float) — Age of the document in hours.
#document_age=
def document_age=(value) -> ::Float
Parameter
- value (::Float) — Age of the document in hours.
Returns
- (::Float) — Age of the document in hours.
#keyword_similarity_score
def keyword_similarity_score() -> ::Float
Returns
- (::Float) — Keyword matching adjustment.
#keyword_similarity_score=
def keyword_similarity_score=(value) -> ::Float
Parameter
- value (::Float) — Keyword matching adjustment.
Returns
- (::Float) — Keyword matching adjustment.
#pctr_rank
def pctr_rank() -> ::Float
Returns
- (::Float) — Predicted conversion rate adjustment as a rank.
#pctr_rank=
def pctr_rank=(value) -> ::Float
Parameter
- value (::Float) — Predicted conversion rate adjustment as a rank.
Returns
- (::Float) — Predicted conversion rate adjustment as a rank.
#relevance_score
def relevance_score() -> ::Float
Returns
- (::Float) — Semantic relevance adjustment.
#relevance_score=
def relevance_score=(value) -> ::Float
Parameter
- value (::Float) — Semantic relevance adjustment.
Returns
- (::Float) — Semantic relevance adjustment.
#semantic_similarity_score
def semantic_similarity_score() -> ::Float
Returns
- (::Float) — Semantic similarity adjustment.
#semantic_similarity_score=
def semantic_similarity_score=(value) -> ::Float
Parameter
- value (::Float) — Semantic similarity adjustment.
Returns
- (::Float) — Semantic similarity adjustment.
#topicality_rank
def topicality_rank() -> ::Float
Returns
- (::Float) — Topicality adjustment as a rank.
#topicality_rank=
def topicality_rank=(value) -> ::Float
Parameter
- value (::Float) — Topicality adjustment as a rank.
Returns
- (::Float) — Topicality adjustment as a rank.