Alex, This is interesting! It would be great if the result show not only title but field name!
Also for people like to use your code, explain what is $(searchTiddler)$ and where you define it! --Mohammad On Tuesday, October 1, 2019 at 4:56:28 PM UTC+3:30, Alex wrote: > > If anyone is looking for a solution, here it is: > > There is an extrem powerful Update for the "search"-Operator ( > https://tiddlywiki.com/#search%20Operator) in 5.1.18 which allow to use > multiple fields to be passed. > > With this new operator it is extremly easy to search in all fields at the > default search: > > Simply add :* after search-operator in list-widget in > $:/core/ui/DefaultSearchResultList: > > \define searchResultList() > //<small>{{$:/language/Search/Matches/Title}}</small>// > > <$list > filter="[!is[system]search:title{$(searchTiddler)$}sort[title]limit[250]]" > template="$:/core/ui/ListItemTemplate"/> > > //<small>{{$:/language/Search/Matches/All}}</small>// > > <$list > filter="[!is[system]search*:**{$(searchTiddler)$}sort[title]limit[250]]" > template="$:/core/ui/ListItemTemplate"/> > > \end > <<searchResultList>> > > I think this would be very helpful, if this is part of the generic > tiddlywiki. > > Maybe one could add a settingstiddler to exclude or include some > standard-fields like author, text & created. > > For me this very simple solution is wonderful and helps a lot creating a > people-db based on field-values. > > Thanks Jeremy. > > > Am Sonntag, 7. September 2014 18:58:20 UTC+2 schrieb cmari: >> >> I find myself using a lot of fields, and I wonder if anyone has come up >> with an easy way to search for the contents of fields. As best I can tell, >> you need to know a field's name in order to search for its contents? >> As an example, two of the publications in the demo at >> http://tw5.scholars.tiddlyspot.com/ are books and are labelled as such >> in a field. However, a search for the word "book" will not find them. You >> need to know know that the field where the information is stored is called >> "publication type", you need to go to advanced search, and you need to put >> [publication_type[book]] into the filter search. Note that I am in no way >> criticizing Alberto's great tool (I know he has other ways of identifying >> books and I'm a happy adapter of his approach). I'm just wondering if there >> is a quicker way to find all the tiddlers that contain the word book in >> their fields. >> >> Thanks - and as always, apologies if I missed an answer that's already >> been given. >> cmari >> > -- 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/09196356-e077-4eff-8e62-300af025e777%40googlegroups.com.

