clach04 / puren_tonbo

Plain text notes Tombo (chi) alternative, also supports, ccrypt, GnuPG (OpenPGP, gpg), OpenSSL AES-256-CBC, AES-256 ZIP AE-1/AE-2 and VimCrypt encrypted files. Integrates with VIM. WIP
https://pypi.org/project/puren-tonbo/
GNU Lesser General Public License v2.1
1 stars 0 forks source link

test idea search tests #106

Open clach04 opened 6 months ago

clach04 commented 6 months ago

See https://github.com/clach04/puren_tonbo/issues/19 number 15.

Assuming:

python3 -m puren_tonbo.tools.ptig puren_tonbo/tests/demo_notes

Some sample grep/regex searches are in readme:

For full text search FTS, allow searching for domain names, may require parsing/index changes. For example, for a simple file, named do not call.txt with content:

do not call

https://www.donotcall.gov/ is a North American government website.

Search for:

Also search, frog and frogs. Without Porter stemming, get no hits for singular. See https://github.com/clach04/puren_tonbo/issues/127

TODO determine AND search with at least 2 words. Ideally words not next to each other?

https://www.sqlite.org/fts5.html#fts5_column_filters