public sealed class SearchResponse.Types.SearchResult.Types.RankSignals : IMessage<SearchResponse.Types.SearchResult.Types.RankSignals>, IEquatable<SearchResponse.Types.SearchResult.Types.RankSignals>, IDeepCloneable<SearchResponse.Types.SearchResult.Types.RankSignals>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class SearchResponse.Types.SearchResult.Types.RankSignals.
A set of ranking signals.
Implements
IMessageSearchResponseTypesSearchResultTypesRankSignals, IEquatableSearchResponseTypesSearchResultTypesRankSignals, IDeepCloneableSearchResponseTypesSearchResultTypesRankSignals, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
RankSignals()
public RankSignals()
RankSignals(RankSignals)
public RankSignals(SearchResponse.Types.SearchResult.Types.RankSignals other)
Parameter | |
---|---|
Name | Description |
other |
SearchResponseTypesSearchResultTypesRankSignals |
Properties
BoostingFactor
public float BoostingFactor { get; set; }
Combined custom boosts for a doc.
Property Value | |
---|---|
Type | Description |
float |
CustomSignals
public RepeatedField<SearchResponse.Types.SearchResult.Types.RankSignals.Types.CustomSignal> CustomSignals { get; }
A list of custom clearbox signals.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSearchResponseTypesSearchResultTypesRankSignalsTypesCustomSignal |
DefaultRank
public float DefaultRank { get; set; }
The default rank of the result.
Property Value | |
---|---|
Type | Description |
float |
DocumentAge
public float DocumentAge { get; set; }
Age of the document in hours.
Property Value | |
---|---|
Type | Description |
float |
HasBoostingFactor
public bool HasBoostingFactor { get; }
Gets whether the "boosting_factor" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDocumentAge
public bool HasDocumentAge { get; }
Gets whether the "document_age" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasKeywordSimilarityScore
public bool HasKeywordSimilarityScore { get; }
Gets whether the "keyword_similarity_score" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasPctrRank
public bool HasPctrRank { get; }
Gets whether the "pctr_rank" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasRelevanceScore
public bool HasRelevanceScore { get; }
Gets whether the "relevance_score" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSemanticSimilarityScore
public bool HasSemanticSimilarityScore { get; }
Gets whether the "semantic_similarity_score" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasTopicalityRank
public bool HasTopicalityRank { get; }
Gets whether the "topicality_rank" field is set
Property Value | |
---|---|
Type | Description |
bool |
KeywordSimilarityScore
public float KeywordSimilarityScore { get; set; }
Keyword matching adjustment.
Property Value | |
---|---|
Type | Description |
float |
PctrRank
public float PctrRank { get; set; }
Predicted conversion rate adjustment as a rank.
Property Value | |
---|---|
Type | Description |
float |
RelevanceScore
public float RelevanceScore { get; set; }
Semantic relevance adjustment.
Property Value | |
---|---|
Type | Description |
float |
SemanticSimilarityScore
public float SemanticSimilarityScore { get; set; }
Semantic similarity adjustment.
Property Value | |
---|---|
Type | Description |
float |
TopicalityRank
public float TopicalityRank { get; set; }
Topicality adjustment as a rank.
Property Value | |
---|---|
Type | Description |
float |