All Products
Search
Document Center

Tablestore:HighlightFragmentOrder

Last Updated:Feb 05, 2025

HighlightFragmentOrder specifies the sorting rule for the highlighted text fragments that you want to return.

Enumeration value list

  • TEXT_SEQUENCE: The highlighted text fragments are sorted based on the order of their appearance in the original text. This is the default value.

  • SCORE: The highlighted text fragments are sorted based on the score of the hit query strings.

enum HighlightFragmentOrder {
    TEXT_SEQUENCE = 1;
    SCORE = 2;
}