Full-text search for ekg #109
Replies: 3 comments 8 replies
-
This is amazing, I'm super happy you've worked on this. Using SQLite3 to do full-text search has been on my to-list for a while, so I'm definitely interesting in integrating this. First, I think it might be good to put this in the Also, when you are doing full text search, have you thought about adding all the string objects available for the subject? If implementing in Anyway, perhaps making a generic version in BTW, because we now depend on the |
Beta Was this translation helpful? Give feedback.
-
I've tried a slightly different solution, which just indexes all text "objects" in the triples db. It requires the latest commit in the PTAL, let me know if I'm missing some important functionality. |
Beta Was this translation helpful? Give feedback.
-
I basically chose to have a pretty simple SQL implementation, and
just filter out things like trashed items when doing retrieval.
I'm thinking of a similar approach for more targetted retrieval.
Maybe continue to index everything, and make the querying more
targeted when needed. Please let me know when you have further
thoughts or ideas about this, and thanks again for sharing your
solution!
|
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I just discovered ekg not too long ago and I'm thrilled — thank you, @ahyatt !
After an odyssey of various open source and home-built PKM programs, ekg actually offers the closest solution for notes to what I want.
My last stop was org-roam but I intend to stick with ekg for now though.
To make this decision a little easier for me, I've implemented a simple, but at the same time powerful (thanks to SQLite3!) full-text search function for ekg.
Having full-text search capabilities for my notes is quite essential for me and I think this goes to several.
LLMs are cool, but I'm not ready to use them yet (and if I am, I probably don't want OpenAI, but an open source variant).
If you want to use my variant, you still have to make an adjustment in the triples package as a prerequisite.
I think it should be harmless and can possibly be adopted in main (@ahyatt I would be happy to provide a PR)
The same goes for the ekg-fts extension.
I've tested some things, but the longer-term field tests are still pending, so please try with a backup database if necessary.
See my short write-up on ekg-fts for getting started.
— Martin
Beta Was this translation helpful? Give feedback.
All reactions