moving to mark II - index bar freezes again on some folders
Completedin mark II, yesterday the index problem resurfaced.
Basically same issue as with the other beta branch some month ago.
Attempting to index a mixed folder (Obsidian workspace with subfolders containing .css and plugin code) nvUltra index freezes and at times the entire app need force-quit.
Please kindly have a look at it again.
https://multimarkdown.zendesk.com/hc/en-us/community/posts/1500000393642/comments/4406648146579
-
If you send me a zipped up folder that breaks indexing for you, I can take a look and figure out what is going on.
It works fine for all of my folders.
0 -
Thank you for the swift response - just send you the zip thru your request channel
0 -
The obsidian folder has a hidden folder (`.obsidian`), with a large collection of compressed/quasi-obfuscated javascript files with what appears to be encoded binary data. This results in incredibly long "words" in the file that take time to incrementally index.
Currently the "Files to ignore" preference hides files from the notes table, but doesn't skip indexing them. I'll look at adjusting the indexer behavior to avoid indexing them as well.
1 -
Thank you for tracing it down. I certainly did not expect indexing though told "to ignore". If there was a good point in indexing other subdirectories though "ignored" (was there?) may be you could have a special code to ignore a subdirectory completely while then having others just not listed
0 -
You'll have to include `%.obsidian/%` and `%.trash/%` to ignore these files, and in the next release this will prevent indexing them as well.
1 -
Thanks indeed, for the correct "ignore syntax". Had it before as `.obsidian/%` and `.trash/%` respectively.
Then index, however, still freezes midway, longing for the next release :-)
0 -
FYI -- I've update the indexer to limit the maximum "word length" to be indexed to 100 bytes. This improves the performance even when you *don't* ignore those folders to something usable. In this case, ignoring those folders might still be the right thing, but this will catch some other edge cases as well.
This will be included in the next release after today.
1 -
Definitely made a difference.
Even though, per your suggestion, I did continued to exclude those Obsidian — but the rest of indexing got a tangible speed boost
0 -
Glad it helped!
0
Please sign in to leave a comment.
Comments
9 comments