All Products
Search
Document Center

Tablestore:HighlightField

Last Updated:Apr 29, 2026

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.