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

搜索词支持逆序吗?

Asked Jun 25, 2024 Modified Jun 25, 2024
Viewed 34
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
Fennng27
answered Jun 26, 2024
Related Questions
doris写hive表时如何合并小文件?
show partitions from table里的DataSize为0
1 answers
2.1.10 执行JDBC insert SQL的时候报BufferUnderflowException错误
1 answers
2.1版本BE 节点老是挂掉
1 answers
我想将每行数据的所有列生成一个签名,用于比对记录是否有变化
2 answers
[2.1.10] be运行一段时间后重启
1 answers

Terms of service Privacy policy

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