Logic operators in search (AND + OR)
Dimitry Jacobs
I Rethink now, not on status, but i like to have to have the option to use more hashtags in keyword with AND + OR would be helpful (it's nice to have request)
Eduard Metzger
I was just reviewing this request. I think filtering by status we have already?
Jonathan Clark
Eduard Metzger: Many of the specific examples here are covered. But the general case of multiple search terms aren't.
However, I'm attempting to cover that in the Search Extensions plugin next major release, due August 2022.
Eduard Metzger
Jonathan Clark: yes right. This request was a combination of multiple search terms and task status. I’m checking if we can update the description and be more detailed
Jonathan Clark
Eduard Metzger: good plan.
(BTW I have some questions in the Discord for you about multi-word search terms (e.g. "Discord server"). Should they be supported in the .search() call and UI?)
Eduard Metzger
Merged in a post:
Multiple keywords for the search and save that search
NotePlan can also be a way to find a group of notes that have multiple keywords, hashtags, mentions, etc.
For example let's say I want to find all notes that have the hashtag #Today and also #Priority. We could have an option to add another Keyword field (just like Finder's search). After that, we could save that search, the way we can save the Filter under "Review"
Eduard Metzger
You mean in the current system if you add two hashtags, it's OR and not AND logic? Because you can add a hashtag to the keyword field and it saves, too. Like in your screenshot. What would you change? More keyword fields or allowing to have OR/AND logic?
Michael Huettemann
Eduard Metzger: Well, yes. I often need an "OR" operator here. I often need to find results where one or more of #aproject #acustomer #atopic @amention are found.