Interface SearchRequest.RelevanceScoreSpecOrBuilder (0.58.0)

public static interface SearchRequest.RelevanceScoreSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReturnRelevanceScore()

public abstract boolean getReturnRelevanceScore()

Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.

bool return_relevance_score = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The returnRelevanceScore.