What I’m trying to do
I am trying to search for tasks in my notes.
Things I have tried
Docs suggest a search for “task:” should find tasks. And “task-done:” should find complete ones. But as the attached image shows, “task:” is finding nothing. I’ve read articles online about whitespace and restarting the core search plugin. But I’m unable to fix this myself. I’m not using any other plugins. Am I doing something wrong?
I believe you need to add the task name in there. task: and task-done: restrict the search to checkboxes/tasks, but you have to tell Search what to look for.

If you want to find all unchecked tasks, you could do a literal search for "- [ ]"
1 Like
To match all tasks, try a regular expression:
tasks:/.+/
If you want to find all unchecked tasks, you could do a literal search for "- [ ]"
There is an operator for unchecked tasks too. I don’t remember its name but it’s on the help page for Search.
1 Like