HighlightField

Updated at:

HighlightField defines the highlighted text fragments returned for a field in a search query result.

Data structure

message HighlightField {
    optional string field_name = 1;
    repeated string field_fragments = 2;
}

Parameter

Type

Required

Description

field_name

string

Yes

The name of the field for which highlights are returned.

field_fragments

string

Yes

The highlighted text fragments extracted from the field.