-
-
Notifications
You must be signed in to change notification settings - Fork 22
internal/refactor-note-loading #114
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
base: main
Are you sure you want to change the base?
Conversation
Another option. You could also create a custom index in a local SQLite db. With that you could also create vector embeddings to do semantic search as well. |
@KevinBatdorf I was looking into sqlite but I am not sure how to properly handle it. Simply installing better-sqlite3 does not work because native node addons are not supported yet, see raycast/extensions#135. Now apparently some people are using WASM compiled versions of sqlite (sql.js) as a workaround, but this will do everything in memory again which we can't do. |
That's right I forgot about that limitation. I wonder if you could write a simple wrapper in swift to use the native SQLite and just call the c functions on it. You wouldn't be able to add semantic search, but you could at least index the data. |
9d8d5bb
to
2b1cd13
Compare
npm run test
Todo
Issues
closes #111
closes #101
closes #93
closes #54
Possible Solutions for the search index
I am trying not to rely on third-party plugins/tools.
But, we are quite restricted with the memory limit. A possible solution would be third-party tools. For example, the popular Omnisearch Obsidian Plugin maintains its own minisearch index which can be queried with a local http service. This would also solve any sync issues between obsidian and Raycast.