I have no idea about Command Palette, but you may want to use a filter like 
the following for the sidebar search:

[!is[system]search:title<userInput>sort[title]get-stream-root:matchtitles[]limit[250]]

This will allow the individual nodes to be searchable but only show their 
root tiddlers in the search, as long as the node titles have the format 
root-tiddler/*

On Tuesday, May 11, 2021 at 8:24:36 PM UTC+2 si wrote:

> Not sure if this plugin is being updated, but its still alive here:
> https://souk21.github.io/TW-commandpalette/
> https://groups.google.com/g/tiddlywiki/c/09Ful62YG1g
>
> I'm trying to use a custom filter for the search results of this plugin. 
> Specifically I am using Streams and want to exclude all non-root tiddlers 
> from the normal search.
>
> For example TiddlyWiki's sidebar search uses the following filter by 
> default: [!is[system]search:title<userInput>sort[title]limit[250]], which 
> I have changed to this: 
> [!is[system]search:title<userInput>sort[title]limit[250]!regexp[^.*/\d{17}$]]
> .
>
> I would like to do something similar with Command Palette but I'm 
> struggling to figure it out. Any users of this plugin out there who know 
> how to do this?
>

-- 
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/71cd8aae-fab2-4ac6-8749-f85cc46e1588n%40googlegroups.com.

Reply via email to