-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Search for files by title #48
Comments
Thanks for expanding on your idea. My main questions are:
|
The native-side machinery for examining the files' content will probably have a lot in common with #47. |
Thanks for your feedback!
I'm not sure what the visually best approach is. However, I was thinking about specifying a directory similar to
I agree, hence the restriction to the
Obvious, maybe. Presumably then we would have to follow the route of Orgzly, where full text search is possible, and store the data in a database. Then we would need a syncing mechanism instead of working on org-files. See orgzly/orgzly-android#668 (comment) |
Seems a bit limiting, but OK.
Sure. There isn't really a settings screen right now, but I think this would require one.
I'm not sure why a database would be needed for the full-text search use case, but not for the TITLE use case. If you are planning on persisting the parsed titles then that is also part of the design that should be discussed.
100% agreed. I would like to keep the data stored in or generated by Orgro to the absolute minimum. |
Sorry, I didn't explain myself well. In Orgzly all org files are parsed and saved in the DB and all further modifications are done in the DB. Therefore, a sync-mechanism is needed to update the org files. This is quite tedious and error prone. However, on further thought, the manual syncing is only necessary due to write operations. Because we would only have to read a file refreshing the database can be automated and shouldn't be a problem (ignoring #6).
Maybe it makes sense to test first how long it takes to search for a file by title before trying to design a database schema? |
Feature
Currently opening a new file is only possible through the system's file picker. This issue proposes a file search based on the document
+TITLE:
property.Motivation
Thanks to the new update that allows accessing files in a permitted directory a file-based search should be possible to implement. This file-based search allows searching for org-files based on their
+TITLE
property and is a small step towards features such as Org-Roam compatibility #17Pitch
Find and open files based on their document title.
Example
Document
Path
Details
This has been already implemented in Org Roam as org-roam-find-file using a SQLite database for caching.
The text was updated successfully, but these errors were encountered: