-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idea: mount the sqlite database as filesystem #195
Comments
It's an interesting idea, thanks for mentioning it! I think I probably should do the obvious solution and release a full text search in the The idea of mounting the sqlite database is interesting, and a similar idea struck me when reading #193; maybe those who want to use the filesystem and ekg at the same time could just mount ekg as a filesystem. I'm not sure if many people would want to do that, though. |
Maybe keep the note as separate files and only manage tags in a sqlite database. TMSU is interesting |
Having files be stored outside the db presents some complications to the design. I think having I've been trying out the version with search, and it seems to be working for what I've tried so far. I'll work on releasing it soon. |
NotDeft has good fulltext search. But it lacks in supporting tags. |
How important is it to be able to specifically query by tags along with other text? That is, to be able to query |
It's will be a unique feature, a very nice feature for large number of notes. denote and notdeft do not have that feature. |
I've merged a new sqlite-FTS driven query functionality into the |
There is just one functionality missing: non English support. |
Great point! Unfortunately, emacs doesn't allow this extension. I can bring this up with the emacs maintainers, although I don't know the area well: for example, if this is in Emacs, is there other equivalents like Japanese that also need tokenizer and also should be included? In light of this, I wonder if there's some other thing we should do which is to specifically make another non-triple-based fts5 that allows Emacs to tokenize and do other things (such as expanding inlines) that would be useful for ekg. If we did have something like this, would you be able to tokenize in elisp? |
Yes, Japanese and Korean also need a tokenizer, the same tokenizer will work with all CJK languages with their dictionaries. Looks like the most used is jieba,and we need external program to do it, because elisp is too slow. Here are some related links. |
Thanks for the links, @QiangF. Do you think it's worth it for me to release the One other thing I've thought of is to to support search by just SQL query, so strict grep-style string matching, which could build up a notes buffer as you type your query. That would support any language, but the search wouldn't be ranked at all, so it's limited in use. |
Yes, I think a "non-triple-based fts5" is the way to go, which makes us more free. |
The author of the simple extension has agreed to dual license the code. I have created a pull request at wangfenjin/simple#173 |
This is for the fulltext search capability. Since we have many package for that, eg. rg.el.
I am wondering if we can mount the database with:
https://github.com/Airsequel/SQLiteDAV
https://github.com/adamobeng/wddbfs
And by doing that, will we have fulltext search using existing package?
The text was updated successfully, but these errors were encountered: