Hi,

Today I searched my CBL (using SQLCipher) for the term "decorative". Along 
with search results that include that keyword, it also found "decor". I'm 
just wondering if there's some stemming going on here that's causing this? 
Since decor is a root word of decorative, perhaps that's what's really 
going on. The odd thing is my old version with the build of SQLCipher and 
FTS4 in my old app version doesn't find "decor" when I search for 
"decorative". I'd rather it not find "decor" actually. I think this may be 
the Porter tokenizer which may be doing this? One of its jobs is to reduce 
English language words into common roots. Sounds like this is what's 
happening here.

This is the compiler options being used when I compile SQLCipher, but I 
don't think that would have any effect (except maybe the unicode61 option, 
which I am also using in my old app):

./configure --enable-tempstore=yes --with-crypto-lib=commoncrypto CFLAGS="-O2 
-DSQLITE_HAS_CODEC -DNDEBUG -DSQLITE_TEMP_STORE=2 -DSQLITE_THREADSAFE 
-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS 
-DSQLITE_ENABLE_FTS4_UNICODE61"

Thanks,

Brendan

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/898b40ab-a990-4738-a679-4a1e5038edcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to