I have been away for a few days so I am not up to date with what is discussed here. Here is my formulated reply.
Searching with tags. Thank you for your request. I will try to keep this short but helpful. The short shortcut keys are for Windows but it would not be hard to guess what it would be for Apple.
If you have thousands of notes the first attempt to find the right note is likely to fail. The issue is always how to start. In some cases, it may be obvious, but in the more general case, it is not.
- So, you start with a guess, say one or two tags plus a Boolean operator (typically A AND B). This results in some hits but many near misses (false positives).
- Browse a few of the notes at the top of the list, sometimes even the title is enough, and it is mostly pretty obvious if you are on track and how the search can be refined.
- One option is to edit the search to exclude specific things you don’t want as these will stand out and may be labelled with a tag C (A AND B AND NOT C).
- Checking the search results again, you might like to narrow it down again in which case the additional tag D could help (A AND B AND NOT C AND D).
- The results are pretty good now and it would be useful of save the result by adding the tag E. Next time you want this result you just have to search with the tag E. Select all the search results with ctrl-A and then add the tag E in one go.
- If you are interested in searching certain folders make sure everything in that folder is tagged with that folder name (group tag function: ctrl-A for the selected folder notes, plus add tag). Say I want to find the notes with tag K in folder X (tagged folderX) and folder Y (tagged folderY), this can be searched with tags ((folderX OR folderY) AND K).
- Say you decided the notes with tag E are not wanted and you wish to delete those notes out of folder X and Y only. Then you would search with tags ((folderX OR folderY) AND E). The search result shows the notes you DONT want. You can now browse through and delete them individually, or group select (ctrl-click) on those notes you want to delete, or delete all in one go (ctrl-A and then hitting Del button).
- A final useful function with tags is to delete all unused tags (not assigned to any of the notes). It reduces clutter. If you select all notes with the tag E and delete these notes, there is still may be a tag E left in the tag register as a remnant.
The principle is that all editing is done from the search bar with a simple syntax that allows Boolean algebra of multiple tags and preferably nested expressions. I don’t like the Excel syntax for Boolean expression e.g. OR(A, AND(B, NOT©)). Too many or not enough brackets, who knows? I don’t like bracketing tags but you could bracket operators with a symbol such as .AND. and .OR. and .NOT… This is clear text. Boolean Algebra uses a notation of a different type and can be approximated on the keyboard AND(A,B)=A.B, OR(A,B)=A+B, NOT(A)=!A. I would insist the tags be specific so no string search notation with the characters “*” or “.”. You could then use them as logical operators. It is up to you what is easiest.