All Products
Search
Document Center

Tablestore:HighlightEncoder

Last Updated:Feb 05, 2025

HighlightEncoder specifies the encoding method for the highlighted text fragments.

Enumeration value list

  • PLAIN_MODE: displays the highlighted text fragments without the need for encoding.

  • HTML_MODE: performs HTML encoding on the highlighted text fragments. After HTML encoding is complete, < is converted into &lt;, > into &gt;, " into &quot;, ' into &#x27;, and / into &#x2F;. If you want to display web pages, we recommend that you use the HTML format.

enum HighlightEncoder {
    PLAIN_MODE = 1;
    HTML_MODE = 2;
}