Interface SearchRequest.ContentSearchSpec.SummarySpecOrBuilder (0.18.0)

public static interface SearchRequest.ContentSearchSpec.SummarySpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSummaryResultCount()

public abstract int getSummaryResultCount()

The number of top results the summary should be generated from. If the number of returned results is less than summary_result_count, then the summary would be derived from all the results; otherwise, the summary would be derived from the top results.

At most 5 results can be used for generating summary.

int32 summary_result_count = 1;

Returns
TypeDescription
int

The summaryResultCount.