For the complete documentation index, see llms.txt. This page is also available as Markdown.

Mroonga User-Defined Functions

Extend Mroonga's functionality in MariaDB Server with user-defined functions. Learn how to create custom functions to enhance full-text search and data processing capabilities.

Instructions on how to manually create Mroonga's UDFs if they were not automatically installed, ensuring full functionality.

This UDF returns the unique ID assigned by Groonga for the last inserted record, useful for tracking internal record identifiers.

Execute raw Groonga commands directly from MariaDB using this UDF, allowing for advanced administration and inspection of the Groonga database.

This function escapes special characters in a string to make it safe for use in Mroonga full-text search queries.

Highlight keywords within a text string using HTML tags, making it easy to display search results with matched terms emphasized.

This UDF normalizes a given string using Groonga's normalizers, ensuring consistent text processing for accurate indexing and searching.

This function extracts a snippet of text surrounding a keyword from a document, providing necessary context for search result displays.

Similar to mroonga_snippet, this function generates HTML-formatted snippets, automatically wrapping matched keywords in tags for web display.

Last updated

Was this helpful?