The problem with the minimum character is also apparent to me, the solution would be to ignore the length of the prefix, but the length of the search term is managed at another level - it would require more serious intervention.
I do not really understand the purpose of the search history. Could you give a practical example of where it would be useful? Is the $:/tags/Filter <https://tiddlywiki.com/prerelease/#SystemTag%3A%20%24%3A%2Ftags%2FFilter> tag not enough to solve this problem? 2018. november 14., szerda 22:00:45 UTC+1 időpontban Mark S. a következőt írta: > > That would be a handy improvement on the standard search. The one thing > is that it might require a different character limit. The standard default > is 3 characters, but if you type in $:/ you've already met that limit and > are exposed to a massive result list. > > Somewhere down the line, it would be great if TW could save your searches > (like in other search engines) so you could quickly go back to a prior > search. > > -- Mark > > On Wednesday, November 14, 2018 at 10:47:55 AM UTC-8, bimlas wrote: >> >> What do you think? Is it usefull enough to let it in the core? >> >> Regular search (nothing new, just want to show the current behaviour): >> https://i.imgur.com/ovBjJeV.png >> Find system + shadow tiddlers: https://i.imgur.com/yMTWt5d.png >> Search by filters: https://i.imgur.com/xIXtmn6.png >> >> Note: The "Filter error: Missing closing bracket in filter expression" is >> not shown at all. >> >> To achieve this behaviour, rewrite the contents of >> $:/core/ui/DefaultSearchResultList with this: >> >> \define filterExpression() {{$(searchTiddler)$}} +[limit[$(resultsLimit)$ >> ]] >> >> \define filterSearch() >> >> <$wikify name="transcludedFilterExpression" text=<<filterExpression>> > >> <$list filter=<<transcludedFilterExpression>> template= >> "$:/core/ui/ListItemTemplate"/> >> </$wikify> >> >> \end >> \define regularSearch(scope) >> >> //<small>{{$:/language/Search/Matches/Title}}</small>// >> >> <$list filter= >> "[$scope$search:title{$(searchTiddler)$}sort[title]limit[$(resultsLimit)$]]" >> template="$:/core/ui/ListItemTemplate"/> >> >> //<small>{{$:/language/Search/Matches/All}}</small>// >> >> <$list filter= >> "[$scope$search{$(searchTiddler)$}sort[title]limit[$(resultsLimit)$]]" >> template="$:/core/ui/ListItemTemplate"/> >> >> \end >> \define searchResultList() >> >> <$list filter="[{$(searchTiddler)$}prefix[[]]"> >> >> //''<small>{{$:/language/Search/Filter/Caption}}</small>''// >> >> <<filterSearch>> >> >> </$list> >> >> <$list filter="[{$(searchTiddler)$}prefix[$:/]]"> >> >> //''<small>{{$:/language/Search/System/Caption}} + {{$:/language/Search/ >> Shadows/Caption}}</small>''// >> >> <<regularSearch "all[system+shadows]">> >> >> </$list> >> >> <$list filter="[{$(searchTiddler)$}!prefix[[]!prefix[$:/]]"> >> >> <<regularSearch "!is[system]">> >> >> </$list> >> >> \end >> <$vars resultsLimit="250"> >> <<searchResultList>> >> </$vars> >> >> >> >> -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/deade97c-3911-4847-ad4f-2cd6631bf0c8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

