mroonga_snippet
This function extracts a snippet of text surrounding a keyword from a document, providing necessary context for search result displays.
Syntax
mroonga_snippet document,
max_length,
max_count,
encoding,
skip_leading_spaces,
html_escape,
snippet_prefix,
snippet_suffix,
word1, word1_prefix, word1_suffix
...
[wordN wordN_prefix wordN_suffix]Description
Example
See Also
Last updated
Was this helpful?

