Search Bodies of Tiddlers Narrowed by Titles

61 views
Skip to first unread message

h0p3

unread,
Sep 1, 2018, 12:00:51 PM9/1/18
to TiddlyWiki
I need to search the bodies of tiddlers narrowed by their titles.

For examples:
  • Search for ["catdog"] in the bodies of any tiddlers with ["foo"] in their titles.
  • Search for ["catdog" and "spongebob"] in the bodies of any tiddlers with ["foo" or "bar"] in their titles.
What are good ways to do searches like these?

Mark S.

unread,
Sep 1, 2018, 12:19:04 PM9/1/18
to TiddlyWiki
The search operator can be refined by field name. So I assume that the most optimized filters for your queries would work like:

  [search:title[foo]search:text[catdog]]

and

  [search:title[foo]] [search:title[bar]] +[search:text[catdog]search:text[spongebob]]

-- Mark

h0p3

unread,
Sep 1, 2018, 5:05:20 PM9/1/18
to TiddlyWiki
Works like a charm. Thank you!
Reply all
Reply to author
Forward
0 new messages