-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Bug 描述
如题。按照 a或者 b来搜,搜出了不相关的字。
重现步骤
CREATE VIRTUAL TABLE t1 USING fts5(text, tokenize = 'simple');
INSERT INTO t1 VALUES ('阿广奇公排在');
之后,
执行以下四句sql,
select simple_highlight(t1, 0, '[', ']') as text from t1 where text match simple_query('a');
select simple_highlight(t1, 0, '[', ']') as text from t1 where text match jieba_query('a', '1');
select simple_highlight(t1, 0, '[', ']') as text from t1 where text match simple_query('b');
select simple_highlight(t1, 0, '[', ']') as text from t1 where text match jieba_query('b', '0');
与预期不符合的地方
这四句sql,每句的执行结果都有无法理解之处。
前两句,搜a,查出了和 a 不相干的 '广 和 '奇' 字。
后两句,搜b,查出了和 b 不相干的 ‘排' 字。
SQL 执行截图
If applicable, add screenshots to help explain your problem.
环境信息
- 操作系统:Windows11
- 有问题的软件版本:Sqlite:v3.49.1, simple.dll v0.5.0
其他
请问,怎么理解以上用单个字母搜索所得到的结果?谢谢!
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested