当前位置:网站首页>Function ‘ngram‘ is not defined
Function ‘ngram‘ is not defined
2022-07-02 06:30:00 【图图是只猫】
问题
Mariadb执行sql语句抛出错误 :Function ‘ngram’ is not defined
环境
Mariadb10.3.27
原因
Ngram
MySQL ngram全文解析器简介MySQL内置的全文解析器使用空格确定单词的开始和结束。当涉及汉语,日语或韩语等表意语言语言时,这是一个限制,因为这些语言不使用分词符。
为了解决这个问题,MySQL提供了ngram全文解析器。自MySQL5.7.6版起,MySQL将ngram全文解析器作为内置的服务器插件,这意味着当MySQL数据库服务器启动时,MySQL会自动加载该插件。 MySQL支持用于InnoDB和MyISAM存储引擎的ngram全文解析器。
根据定义,ngram是来自文本序列的多个字符的连续序列。 ngram全文解析器的主要功能是将文本序列标记为n个字符的连续序列。
以下说明了ngram全文解析器如何标记不同值n的文本序列://原文出自【易百教程】,商业转载请联系作者获得授权,非商业请保留原文链接:
MariaDB该版本未提供Ngram
解决
先换成mysql吧。。。。。。。。。。。。。。。。。。。。。
边栏推荐
- Web技术发展史
- Concise analysis of redis source code 11 - Main IO threads and redis 6.0 multi IO threads
- Data asset management function
- When a custom exception encounters reflection
- Hcia - Application Layer
- First week of JS study
- c语言自定义类型——结构体,位段(匿名结构体,结构体的自引用,结构体的内存对齐)
- Introduction to anti interception technology of wechat domain name
- Realization of basic function of sequence table
- File upload and download performance test based on the locust framework
猜你喜欢
Intelligent manufacturing solutions digital twin smart factory
sqli-labs(POST类型注入)
类和对象(类和类的实例化,this,static关键字,封装)
HCIA—應用層
Smart agriculture solutions smart agriculture system development
ICMP协议
Googlenet network explanation and model building
C language custom types - structure, bit segment (anonymous structure, self reference of structure, memory alignment of structure)
Rotating linked list (illustration)
sqli-labs第12关
随机推荐
Matlab mathematical modeling tool
Introduction to anti interception technology of wechat domain name
Openshift build image
Pointer initialization
The source code of the live app. When the verification method is mailbox verification, the verification code is automatically sent to the entered mailbox
What is SQL injection
Hcia - Application Layer
c语言将字符串中的空格替换成%20
Benefits of ufcs of D
idea中注释代码取消代码的快捷键
D interface and domain problems
Use Wireshark to grab TCP three handshakes
Solid principle: explanation and examples
Openfeign facile à utiliser
Tcp/ip - transport layer
web安全--逻辑越权
Getting started with k8s: building MySQL with Helm
PCL calculates the intersection of three mutually nonparallel planes
Matlab-其它
Causes of laptop jam