5.5.7. mroonga_snippet_html() — Mroonga vmrn_version documentation

Skip to main content
`Ctrl`+`K`

# 5.5.7. `mroonga_snippet_html()`

Added in version 5.09.

## 5.5.7.1. Summary

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

## 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.