Not so much a support request as some advice sought - with the availability of the Full-Text Search I’m struggling to find a practical use for Tags that doesn’t just give the same results that FTS would anyway.
For example, I thought I’d tag my beer recipes with the Style, e.g. tags beerstyle:IPA, beerstyle:Amber but in practice, the IPA and Amber words are, essentially, always in the title or text somewhere and so the tag adds little value.
Hoping someone can share a tag strategy that goes beyond a cut-down FTS. Thanks in advance.
I like tags but have found the use of them in Joplin cumbersome so use a lot less than I did under Evernote.
There are several reasons that tags go beyond FTS which are limited to the words in the text. Here are a few:
Traditional the association between a folder and tag is unique. Tags allow multiple associations. This is what tags always were. Some apps now allow a note to be in multiple folders. In other words, they are used as tags. Logically then you can then have notes marked with the tag FolderA or FolderB, etc.
You can standardise spellings - some words have different spelling and particularly regional spellings (-or vs -our, -ise vs -ize) can be eliminated. It is much quicker the correcting spellings in the original document. Sometimes the wrong word is used or spelt incorrectly - such as common misspellings.
A single tag can be used to mark text of the same language or same source. In later searches, this makes them easier to find.
Generic terms come up everywhere but some words have different meanings depending on the context and often technical meanings. Tags allow you to find a subset of meanings. Eg. tag:economics AND efficiency. In neoclassical economics, the word “efficiency” has a technical meaning that has nothing to do with the general understanding of the term.
Two or more words have the same meaning. E.g. again from economics: market liberalism = economic rationalism = Thatcherism = Reaganism - it is all the same thing and just regional variations
if you keep the tags very short, preferably one word, you can use set theory and boolean algebra to reduce the select from thousands to just a few and refind searches. The basic operations of Boolean algebra are as follows: AND (conjunction, denoted x ∧ y (sometimes x AND y ), OR (disjunction, denoted x ∨ y (sometimes x OR y ), NOT (negation, denoted ¬ x (sometimes NOT x , or ! x ) This is Joplins greatest deficit.
It pretty standard find the same word in noun, adjective or verb form in different text and usually the spelling will be different for each grammatical form. These variations can be again marked with a single tag.
Associations that may go beyond the original article. Articles are written for a particular audience and have a specific purpose but when you read them it, you may find something in it that goes beyond the original intent. Tags allow you to collect notes under one topic in any way you like, independent of the original intention of the article.
I agree with Voyflen in that the lack of Boolean operations for tags is the biggest drawback. Most apps that support tagging at least allow for AND queries using multiple tags. This could be done via gui by allowing to select more than one tag. If not only AND but also OR and NOT (and maybe XOR) are to be supported, I guess it makes sense to do those advanced tag searches in the search bar instead.
I think there are two basic options that might be combined:
Modify the search engine to accept Boolean commands and add a tag keyword (e.g. (tag:mytag1 AND tag:mytag2) NOT (title:mytitle1 OR title:mytitle2))
Allow to Ctrl/Cmd-select tags and show notes that contain all of the selected tags (AND operators between tags)
I think most people would be happy with option 2 but option 1 would also improve the search function in general which is nice for power users.
I think most apps use some variant of option 2 like Turtl:
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.
I think I have to agree with you. This behavior could also be obtained through a UI solution like the one I described above (option 2) which would serve as a user friendly alternative to the search syntax. I think implementing both is the way to go.
One thing I do with tags is to mark all tasks. This way the tasks can live in separate notebooks but when I want to get a list of all the tasks (like the org-mode agenda if you know that) I can just select the “tasks” label.
Too many opinions and much of them too complicated. For me it is enough to have ability to select multiply tags which would work as AND bolean, ie intersection.
And second - if i have selected tag(s) then content search should work inside my selection, not in full notebook.
3d - to shrink the output produced by tag’s selection, may tags works inside the selected notebook only?
Having just used to new enex/html import function to get all of my old Evernote notes into Joplin, the final final piece of the puzzle, now I have several thousand notes, is a more nuanced search. For my use I don’t think I need to start building crazy complex searches, but being able to restrict to notebooks and tags and to specify text in the title would be ideal, possible with negation, e.g.:
notebook:project1 tag:priority test*
i.e. run the regular search, but restricted to those notes in the project1 notebook which are tagged as priority. Or:
i.e. those notes in project2 with summary in the title.
I rarely need to negate searches, but I can see that as also useful. The only other thing that for me would be great would be to search add a search for notes containing un-ticked “to do” items, e.g.