Saq, if I'm understanding correctly, that does sound intriguing. Let me rehash my understanding of what you are saying, just to make sure I'm getting it.
I do understand (and very much like) that the sub-nodes are not actually in a hierarchy, and that they are attached through the parent field. That's one of the big strengths of the plugin. Each tiddler is actually a stand alone note that can be transcluded a dozen times into different content. Literature notes are durable that way. And when I am creating content, a paragraph can easily be moved to another place in the flow of the article. That makes writing and editing a smooth experience. Furthermore, it does allow me to change the title of a note to whatever I desire, because the title is not the determining factor for its presence in the stream. It relies on the title being in the parent field, and the relink plugin ensures it stays there if I change it. However, what it sounds like you are suggesting is a search option that uses the parent field and checks it somehow to follow up to the "main" tiddler for that stream. Doing this would search all of the tiddlers in the stream, but show the "main" tiddler as the search result for all of them... with one exception. If I have changed the title to something that does not include the "main" tiddler title, then it would not be included, it would stand alone as it's own search result. Am I understanding you correctly? If so, that does, indeed sound like a good option, and I think it would streamline the flow for researching with Streams. Concerning the tiddler you mentioned, here are the contents of that tiddler: <<stream-root-title>>/<<now "[UTC]YYYY0MM0DD0hh0mm0ssXXX">> Thanks again, Saq. On Wednesday, August 19, 2020 at 6:50:30 AM UTC-4 [email protected] wrote: > Keelan, > > Another short reply for now, going to work through the rest of your > feedback piecemeal as time permits. > > Regarding search: > > *Search gets confusing.* I've learned to adjust to this, but all of the >> streams tiddlers show up in search. Most of the time, I only want the >> parent to show and then I will find what I want on that "main tiddler." >> However, I periodically have a tiddler created in a stream that rises to >> the level of a stand alone tiddler, so I would want it to index. I realize >> the dilemma in all of this. So, I think if we could omit all the children >> and just index the main parent tiddler for a stream in search, it would be >> preferrable, since it is possible to just rename a specific stream >> tiddler and then it could index. > > > I thought about putting together a quick search solution for search where > only the root node is returned in search results, but quickly realized > there is a conceptual snag. Streams is intentionally written so that it > doesn't care about the titles of tiddlers for maintaining the relationships > between them. So for example: > > History/1908 is not a subnode of History because of it's title, but rather > because History/1908 has a field called *parent* with value History. > > So it's easily doable to have a custom search only return the root node of > results by following the parent field back through relationships to the > end. However, just renaming a tiddler would not make it show up in the > search results. You would have to delete the "parent" field thereby > removing it from the Stream. > > So this makes a generic and flexible solution quite difficult. However, it > would be doable to create a custom solution for you where search always > follows the parent field upwards as long as the parent tiddler title is a > substring of the tiddler in question. > > That is if History/1908 has the field parent pointing to History, we > follow that field. > If French Revolution has the field parent pointing to History, we do not > follow it. > > Let me know if this would be helpful, and if so what the value of the > tiddler $:/config/sq/streams/new-node-title is when you open it for editing. > > Cheers, > Saq > -- 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/9aa49459-4880-477c-8f6e-69fd8f329a07n%40googlegroups.com.

