A really easy SEARCH syntax with full filter power under the hood!
Imagine the following scenarios for the "search"-input field where you want to search for tiddlers with the strings "mes" and/or "con":
- mes
default search field behavior
every tiddler with "mes" match in fields: title, text OR tag
- 🎯mes
"direct hit at field" command
every tiddler with "mes" match in field title (shorthand)
- 📌title:mes
"pinned field" command
every tiddler with "mes" match in field title (long notation)
- 🚫mes
not operator/command
every tiddler with "mes" not match in field title (shorthand)
- 📌title🚫mes
every tiddler with "mes" not match in field title (long notation)
- 📌title:🚫mes
every tiddler with "mes" not match in field title (longer notation)
- 📌title:mes📌tag:con
implicit AND linkage
every tiddler with "mes" match in title and "con" in field tag
- 📌title:mes🔗con📌tag:con
explicit AND linkage
every tiddler with "mes" AND "con" match in field title AND "con" in field tag
- 📌title/(mes)/i📌tag:con
RegEx object syntax detection
full supported RegEx
- 📌title:/(mes)/i📌tag:con
dito (longer notation)
- 🔋🎯m*s
"little power of battery" command
SQL wild card search MS Access (full) dialect
applicable to one field or the entire search string and can also be switched off individually for each field
- 🔌🎯m%s
"big power of power grid" command
SQL wild card search MS SQL (full) dialect
- mes📍📌tag:con
logical OR linkage operator/command
"mes" match in field title OR "con" match in field tag (shorthand)
- 📌title🚫mes📍📌tag:con
"mes" not match in title OR "con" match in tag (long notation)
- multiline search string
each line choosable linked
AND
OR
The last point, however, needs to be analyzed in more detail.
I think the principle is clear.
Or is there a graphic designer in the forum who could design TiddlyWiki search icons?
And tomorrow I will post my ideas on how to use this with a super simple to use designed "search"-input field, so that "Advanced Search" is only needed in exceptional cases.
(But technically/internally the "search"-input field is a kind of remote control for the "Advanced Search" tiddler.)
Regards
Cd.K