Mroonga provides some useful functionality as UDF (User Defined Functions).
mroonga_escape()
mroonga_snippet()
mroonga_normalize()
5.4. Status variables
5.5.1. mroonga_escape()
Enter search terms or a module, class or function name.