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

倒排索引分词怎么不忽略空格

Asked Mar 27 Modified Jan 1, 0001
Viewed 35
2.1 query

现在有个查询场景,比如查询张 三,结果只匹配张空格三,不会有张三。如果倒排索引分词,不忽略空格 怎么弄?或者doris还有什么解决方案,要求查询性能快。

edited Jan 1, 0001
Neal_Zzzz17
asked Mar 27
1 Answers

参考:image.png

你可以使用

SELECT * FROM table_name WHERE content MATCH_PHRASE '张 三 ~1+';
edited Jan 1, 1970
黄海军@SelectDB5198
answered Mar 27
Related Questions
routine load 一流多表经常显示获取锁超时
用三个routinue load写数据,发现写入时断时续,这个是什么问题要怎么排查,消费组没堵
1 answers
doris_be_disks_compaction_score 值过高
通过broker 写数据报错,导致be节点挂掉
1 answers
求助:经常出现 能读数据但是写不动数据
在kettle中执行insert into select unqie表 提示未指定的列名Column 'dw_createtime' in field list is ambiguous
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 中文技术论坛.