You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Chronicles stores note contents as markdown files, and indexes over them, the database is a cache that needs kept in sync; it has a sync routine for this (it is very similar to importer, so everything here applies to both). Its mostly naive and non-performant because its not important enough to do right now, but here's some ideas:
Make the sync / import routine concurrent. Should be pretty straight forward. Likely would do w/ workers to make it easy to cap resource usage
Some kind of content hashing to quickly determine if a file needs re-indexed or not
(done) don't descend into directories needlessly
allow configuring which directories and prefixes to ignore (or perhaps, which to sync)
Do not delete indexed data when run starts (update during and after)
Run in separate process
The text was updated successfully, but these errors were encountered:
Now that Chronicles stores note contents as markdown files, and indexes over them, the database is a cache that needs kept in sync; it has a
sync
routine for this (it is very similar to importer, so everything here applies to both). Its mostly naive and non-performant because its not important enough to do right now, but here's some ideas:The text was updated successfully, but these errors were encountered: