On Thursday, March 11, 2021 at 2:14:38 PM UTC+1 PMario wrote: title: Jack > [? stepson[Joe]], [? daughter[Jill]] and [? wife[Jane]] >
Some technical background. At the moment TW builds the "backlink" information at "parsing time", when the parse-tree is created. Parsing the tiddler content is a very "heavy weight" function. .. It need quite some CPU cycles. ... That's why this info is cached and only recreated if a tiddler changes. If someone uses the eg: backlinks[] <https://tiddlywiki.com/#backlinks%20Operator> operator, the TW core has to touch every tiddler and parse it. Then it internally searches the parse-tree for a pattern like: "type": "link", "attributes": { "to": { "type": "string", "value": "Joe" } }, and it stores some info in the indexer. ... Since we have to "run" all this code already, it shouldn't be too much of a hassle to add additional info to the link structure. eg: "type": "link", "attributes": { "to": { "type": "string", "value": "Joe" }, "relation": { "type": "string", "value": "stepson" } }, In a second step, this info can be "indexed" and we can create filter operators for it. -mario -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0871073f-ad52-4cc8-aeb6-750d5c41b0aan%40googlegroups.com.

