I’m fairly certain that I’m searching properly here, but either I am mistaken or there is a bug. The search explanation is exactly what I want: find the key “wikilinks” in frontmatter, and return if it contains Health and Dental, which my file to the right clearly has in its frontmatter. And yet, 0 results…
i tried a few known ways and i couldn’t get a find
i even tried switching to the more accepted multitext version:
wikilinks:
- "[[Health]]"
- "[[Dental]]"
for now, you can use this (workaround) (works for both versions):
/wikilinks[\s\S]*?Health[\s\S]*?Dental/
it is a bug indeed or we’re overlooking something…?
Hi Yurcee,
Thanks for the workaround. I woke up to a fried laptop and my data went with it, so I’m in the process of rebuilding everything on a new computer… will be at it for at least another couple of days. I’ll give it a go when all this crap is done.
if it’s any consolation, a few days ago i experienced something similar…
luckily, i had the presence of mind to take the laptop apart (at well past midnight, at that) and started shaking it upside down
a little piece of plastic was stuck in the ventilator…
btw, your data should be safe if you only fried the cpu…
Lucky you! I took it apart as well, one thing at a time… power cord, reseat battery, remove NMVe card, remove SSD, put them in cases and try them elsewhere, etc. No piece of plastic stuck in a fan for me! Oh, and just because the gods don’t like me this week, my c drive was set to RAW and it would have been 800 + hours to get the data back! Luckily my backup was just 1 day old. Note to self: HUGE pat on back for daily backup of everything important on C, and weekly backup of all of C.
Wondering if there is a fix for this yet?
Does this search work for you as it does in my test vault?
[wikilinks:health] [wikilinks:dental]
Indeed, that does work. Thank you.
I confess I find it a tad tedious. I purposefully left my keywords field as one long string (eg, keywords: tech, software, android, invoice) so that I didn’t have to surround everything with dbl quotes and square brackets, and to have to just transfer that bother over to the search is bit of a pain. Nevertheless, this works, so yay!
The issue has been fixed.
Simplest Solution that I just discovered:
[wikilinks: health OR dental]
Returns files with the following frontmatter:
wikilinks: "[[Health Log]]"
wikilinks: "[[Health/Health]]"
wikilinks: "[[Health Log Dental]]"
wikilinks: "[[Dental]]"
no need to repeat the key
And when using “and” (which is the default, so no need to include it), the search [wikilinks: health dental]
correctly returns the files with both health
and dental