Search "OR" "NOT"

Forum rules
1. Please keep it one request/suggestion per topic.
2. Please mark the requests with the following tags:
[Startup] - issue related to the program's startup or shutdown process;
[Taking] and [Clipping] - related to acquiring/creating notes (excl. editing);
[Viewing] - related to notes list browsing and reading;
[Editing] - related to the process of editing new and existing notes;
[Search] - related to note searching and finding;
[Managing] - related to note organization and management;
[Reordering/Sorting] - related to sorting or reordering the notes list;
[Clipboard] - clipboard operations;
[Import] and [Export] - issue related to bulk notes import/export;
[Globalization] - issues related to multiple languages/cultures support;
[Files] and [Backup] - file operations,notes back-end and backup;
[UI] - UI issues which don't fall into any of the above categories;
[Other] - other issues which don't fall into any of the above categories.

Thank you!
jhwhood
Posts: 3
Joined: Fri Jan 31, 2014 3:43 pm
Contact:

Search "OR" "NOT"

Postby jhwhood » Thu May 01, 2014 4:22 pm

Maybe I just don't know how to do it but, In the "Search" field, I'd like to be able to type in something like "Ford NOT Cars" to find my friend Tom Ford's address.

I know SQL-Lite can let you string together a lot of these statements, but I'd just be happy with allowing one expression per search. - available as a dropdown maybe?

This would make search REALLY powerful.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Search "OR" "NOT"

Postby CintaNotes Developer » Thu May 01, 2014 4:32 pm

Just type "ford -cars".
Alex
jhwhood
Posts: 3
Joined: Fri Jan 31, 2014 3:43 pm
Contact:

Re: Search "OR" "NOT"

Postby jhwhood » Thu May 01, 2014 5:47 pm

Works great, doesn't work on tags though, which was what I was originally trying to do. I use a LOT of tags :D
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Search "OR" "NOT"

Postby CintaNotes Developer » Thu May 01, 2014 5:51 pm

Oh, so "Ford" and "Cars" are tags?
Then you have the following options:

1) Click on "Ford" and then Alt-Click on "Cars"
OR
2) Type "ford" into the search box, press Enter, then type "cars", press Alt+Enter
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: Search "OR" "NOT"

Postby Thomas Lohrum » Tue May 13, 2014 2:05 pm

Funny, i just had the same problem when i wanted to select the following tags "todo -done". Alex, since we already have a feature to apply words as tags, if applicable, i think it makes sense to enhance the feature for "NOT tag" by using the "-" before the tag-word.

Thomas
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: Search "OR" "NOT"

Postby Thomas Lohrum » Tue May 13, 2014 3:42 pm

Thomas Lohrum wrote:Funny, i just had the same problem when i wanted to select the following tags "todo -done". Alex, since we already have a feature to apply words as tags, if applicable, i think it makes sense to enhance the feature for "NOT tag" by using the "-" before the tag-word. Thomas

I just realize, that in this case the tag-drop-down-combo should also be supported, in case the search word begins with "-".

Thomas
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Search "OR" "NOT"

Postby CintaNotes Developer » Fri May 23, 2014 10:06 am

Thomas Lohrum wrote:Funny, i just had the same problem when i wanted to select the following tags "todo -done". Alex, since we already have a feature to apply words as tags, if applicable, i think it makes sense to enhance the feature for "NOT tag" by using the "-" before the tag-word.

Thomas

Indeed this would be a very logical thing to do, and trivial to implement.
Added to the plan for 2.6.1
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: Search "OR" "NOT"

Postby Thomas Lohrum » Fri May 23, 2014 10:49 am

CintaNotes Developer wrote:
Thomas Lohrum wrote:Funny, i just had the same problem when i wanted to select the following tags "todo -done". Alex, since we already have a feature to apply words as tags, if applicable, i think it makes sense to enhance the feature for "NOT tag" by using the "-" before the tag-word. Thomas
Indeed this would be a very logical thing to do, and trivial to implement. Added to the plan for 2.6.1

AWESOME :D
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: Search "OR" "NOT"

Postby Thomas Lohrum » Fri May 23, 2014 1:13 pm

CintaNotes Developer wrote:Indeed this would be a very logical thing to do, and trivial to implement.

Please be aware, that tag auto-completion (drop-down-box) should be supported too. In other words: even when the word is preceded by "-".

Thomas
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Search "OR" "NOT"

Postby CintaNotes Developer » Fri May 23, 2014 2:33 pm

Yes, of course
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: Search "OR" "NOT"

Postby Thomas Lohrum » Tue Jun 03, 2014 8:20 pm

Alex, i confirm this is implemented with 2.6.1 beta 2. However there is a performance issue. I will post this to the beta-release-note.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Search "OR" "NOT"

Postby CintaNotes Developer » Wed Jun 04, 2014 8:19 am

Ok, thanks
Alex

Return to “Feature Requests”