Apache Doris 中文技术论坛
Questions Tags Users Badges

搜索词支持逆序吗?

Asked Jun 25, 2024 Modified Jun 25, 2024
Viewed 27
2.1

如果想搜索 hello word,是不是只能用 like '%hell word%'

但是想如果是 word hello 的时候也返回,有没有好的办法

edited Jun 25, 2024
little5
asked Jun 25, 2024
1 Answers

可以使用带分词的倒排索引,然后用 match_all 'hello world'

edited Jan 1, 1970
Fennng25
answered Jun 26, 2024
Related Questions
dbeaver里配置Arrow Flight SQL JDBC,测试连接成功,但是点击列表返回GetFlightInfoTables not implemented
查询导致 Doris BE 宕机
2.1.9 with语句生成的计划有问题 导致结果不对
K8S部署Doris Pod 触发 OOM Killer
doris SQL报错不准确
doris支持按列压缩吗,我看文档里有,但是找不到怎么按列配

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.