Luca, If I understand this correctly I think the answer is the kin filter https://bimlas.gitlab.io/tw5-kin-filter/
Dropping, save and reload this on tiddlywiki.com Now I put this in a tiddler tagged $:/tags/ViewTemplate <$list filter="[kin<currentTiddler>]"> </$list> Every tiddler will not display its "kin" if any. lets pick a tiddler somewhere lower down in the TOC eg DragAndDropMechanism The Kin ar Drag and Drop DragAndDropMechanism <file:///C:/Data/TW5/Development/tiddlywiki.comandKin.html#DragAndDropMechanism> Features <file:///C:/Data/TW5/Development/tiddlywiki.comandKin.html#Features> Importing Tiddlers <file:///C:/Data/TW5/Development/tiddlywiki.comandKin.html#Importing%20Tiddlers> Mechanisms <file:///C:/Data/TW5/Development/tiddlywiki.comandKin.html#Mechanisms> Reference <file:///C:/Data/TW5/Development/tiddlywiki.comandKin.html#Reference> TableOfContents <file:///C:/Data/TW5/Development/tiddlywiki.comandKin.html#TableOfContents> <file:///C:/Data/TW5/Development/tiddlywiki.comandKin.html#TableOfContents> Now you could filter this result for tiddlers that you wish to consider a root. I can explain this in more detail for a specific case but I think you would get a lot more from this by simply learning the power available to you of the kin operator. Note you can ask just for ancestors and not descendants and a lot more, the key to such organisation can also be how you have added information to your tiddlers that you can use as additional filters. Regards Tony See the readme/examples in the plugin itself. But lets say you had [kin<currentTiddler>] On Monday, February 17, 2020 at 3:16:47 AM UTC+11, Luca Dorigo wrote: > > Hi guys! > > I've been using Tiddlywiki extensively for notetaking in university over > the last 3 years. > As the amount of tiddlers grew, the search results became harder and > harder to read - a search with a relatively common word now easily yields > 20+ results: > > [image: Screenshot 2020-02-16 at 17.04.53.png] > > > All of my tiddlers are organized using tags, in a tree-like structure. > Usually there is one "root" tiddler for each course that I am or have been > taking, then each chapter/topic in that course is tagged with the course > name, subtopics are tagged with their main topic, and so on. For example: > > [image: Screenshot 2020-02-16 at 17.07.21.png] > > > I would like to modify the search results so that I can see, next to the > title of the result, which course (i.e. "root tag") it belongs to. The > problem is that the leaves in my tag tree (so for example, the "Sannon-Fano > Algorithm" tiddler in the picture above) have no direct link to the related > course, so there's no way to simply express that in wikitext (that I'm > aware of). Could you give me some pointer as to what the best way would be > to accomplish this? > > The only viable option I thought of is to run a bash script to recursively > process all tiddlers in my tiddlers folder, to add a field `root_topic: > [[Root Topic Title]]` to each and everyone of them. Then, for all future > tiddlers, I can manually (or automatically) add this field to point to the > relevant root tiddler. I don't particularly like this option though so I > was hoping there's some more idiomatic way to do it :-) > > Thanks! > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fbafb903-52b9-42d3-b130-e337cdfd3600%40googlegroups.com.