5.5.7. mroonga_snippet_html()

New in version 5.09.

5.5.7.1. Summary

mroonga_snippet_html() UDF provides functionality to get highlighted keyword in context.

Note

This feature is in experimental stage. So, the required arguments or value is changed without notice in the future.

5.5.7.2. Syntax

mroonga_snippet_html() has required parameter and optional parameter:

mroonga_snippet_html(document, key_word)

5.5.7.3. Usage

5.5.7.4. Parameters

5.5.7.4.1. Required parameters

There are many required parameters.

5.5.7.4.2. Optional parameters

5.5.7.5. Return value

It returns snippet string.