Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3894

Weird result from FTS search in SQLite

$
0
0

To do search in emails I’m using FTS in SQLite. The database uses ICU. One user sent me an example where the search for Chinese characters has an unexpected result. He sent me an example database with 2 emails only:

  • case 1: if search term is 明天, then email 1 shows up which is good
  • case 2: if search term is 明, then email 2 shows up which is NOT good, I expect both emails should show up

Now comes the weird part: when I got the database neither case 1 nor case 2 gave any result. After redoing the FTS both searches work fine:

The user also redid the FTS and now case 1 works fine for him and case 2 does not.

Any idea what could cause this problem and how to fix it?

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3894

Trending Articles