All Products
Search
Document Center

Tablestore:Highlight

Last Updated:Feb 06, 2025

Highlight specifies the highlight settings.

Data structure

message Highlight {
    repeated HighlightParameter highlight_parameters = 1;
    optional HighlightEncoder highlight_encoder = 2 [default=PLAIN_MODE];
}

Parameter

Type

Required

Description

highlight_parameters

HighlightParameter

Yes

The highlight parameters. You can configure this parameter only for fields that contain the query strings specified in SearchQuery objects.

highlight_encoder

HighlightEncoder

No

The encoding method for the highlighted text fragments.