This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

Fulltext search plugin

Hello,

I have installed MariaDB version 10.5.22-1.el9_2.x86_64. I want to modify the full-text search behavior to consider all non-whitespace characters as "word characters." Whitespace characters should include space, tab, carriage return (CR), and line feed (LF).

I found an example full-text plugin in MariaDB version 10.0.38 that appears to achieve this functionality. After compiling it into a shared library (.so) and copying it to /usr/lib64/mariadb/plugin, I attempted to load it with the command install soname <plugin_name>. However, I received the error message "ERROR 1127 (HY000): Can't find symbol 'mysql_plugin_declarations' in library."

How can I fix this error? Alternatively, are there other ways to achieve my desired full-text search behavior?

Grzegorz

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.