wcdb
wcdb copied to clipboard
Objc 下全文查找 snippet() 返回的内容重叠
The language of WCDB
Objective-C
The version of WCDB
v1.0.5
The platform of WCDB
iOS
The installation of WCDB
Cocoapods
What's the issue?
数据库字段内容是 "我今天很高兴", 使用 snippet() 返回的内容为 @"我今天很高兴我今天很高兴今天很高兴天很高兴很高兴高兴"
我也遇到了同样的问题 @xmkevin 请问@RingoD 这个bug有解决的吗?或者解决的思路是怎样的?
Yes, it's already fixed and it will be released in next version. The test is here: https://github.com/Tencent/wcdb/blob/feature/repair_2.0/objc/testcase/test/fts/DatabaseTests%2BFTS.mm

the test results is still repeated @RingoD
@zhanghesheng Got it. I think it can be fixed using FTS5. We will upgrade the FTS recently.
@zhanghesheng Got it. I think it can be fixed using FTS5. We will upgrade the FTS recently.
the newest version, upgrade the FTS5?
Please try the latest version.