Does the UID need to be in the body of the note?
Since the main purpose of the UID is to make the note findable on search, do we really need the UID in the body of the note at all, as long as it's in the title?
Or will some systems not search titles and only search the body of the notes?
Joe Gilder
www.youtube.com/homestudiocorner
Howdy, Stranger!
Comments
Most apps do full-text search in both file name and file contents.
When you go down to more basic tools on the command line, you would have to explicitly search in the directory listing for file names and in each file's contents because there, most file content search tools ignore the file name.
Author at Zettelkasten.de • https://christiantietze.de/
Makes sense!
Joe Gilder
www.youtube.com/homestudiocorner
One good reason: if your filenames become corrupted, having it in the file itself provides redundancy. With the ID and title in the file, you could recover the filename.
Filenames can get mangled during a global rename or by a script going rogue on you just when you don't have a good backup.
Apart from specific use cases, there is the general practice of rendudancy that makes systems resilient.
I am a Zettler
W.r.t. UIDs and redundancy, see also this previous discussion for further examples:
https://forum.zettelkasten.de/discussion/comment/5548/#Comment_5548