mroonga_highlight_html
Highlight keywords within a text string using HTML tags, making it easy to display search results with matched terms emphasized.
Syntax
mroonga_highlight_html(text[[, query AS query]])
mroonga_highlight_html(text[[, keyword1, ..., keywordN]])Description
Examples
SELECT mroonga_highlight_html('<p>MariaDB includes the Mroonga storage engine</p>.')
AS highlighted_html;
+-----------------------------------------------------------------+
| highlighted_html |
+-----------------------------------------------------------------+
| <p>MariaDB includes the Mroonga storage engine</p>. |
+-----------------------------------------------------------------+See Also
Last updated
Was this helpful?

