Adding "Tags:" search to Filter Bar

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Voidelocity
Posts: 6
Joined: Mon Aug 08, 2022 6:48 am

Adding "Tags:" search to Filter Bar

Post by Voidelocity »

Without having to always type "tags:" in the Search Box...

How might I add "Tags" option to the Filter Bar so that I can enter the name of any tag into the search box and have all items with that tag show up in the results?

Say I want to locate all files with the tag "vacation 01.02.2011" into the search box without the prefix "tags:"...

I successfully added the "Tag" filter to the filters drop down menu:
• Name: Tags
• Search: Tags:
• Macro: dir

This brings no results when I enter "vacation 01.02.2011".

Is this possible and what would the macro be?

And so, to summarize:

I wish to add "Tags" search to the Filter Bar > select that option > Enter tag name (only) in search box > Get results in Results Window.

Thank you!
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Adding "Tags:" search to Filter Bar

Post by Stamimail »

Did you try
Search: Tags:
Search: tags:
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Adding "Tags:" search to Filter Bar

Post by void »

Please try creating a tag filter:
  • In Everything, from the Search menu, click Add to filters....
  • Change the Name to: Tags
  • Change the Search to: tags:<search:>
  • Change the Macro to: mytagmacro<search>
  • Click OK.
Filters can be activated from the Search menu, Filter bar (View -> Filters), right clicking the status bar, filter macro or filter keyboard shortcut.


If you wanted a filter to search filenames or tags:
  • In Everything, from the Search menu, click Add to filters....
  • Change the Name to: Tags or filename
  • Change the Search to: tags:<search:> | basename:<search:>
  • Change the Macro to: mytagornamemacro<search>
  • Click OK.
Mati
Posts: 1
Joined: Thu Sep 01, 2022 5:28 pm

Re: Adding "Tags:" search to Filter Bar

Post by Mati »

I started using version 1.5 and find the "tags" immensely helpful ( I tag using directory opus ).
Following your instructions of Fri Aug 12, 2022 12:59 pm, I created a macro to search in both the filename and tag using a filter.
As far as I can tell It works fine (in both English and Hebrew).
I also display the "Tags" and the "rating" columns with no problem.

My question is :
How to search (on both filename and tag) but only for those documents that say have a rating higher than 60.

I tried but was not able to execute using a filter.

I "discovered" ver. 1.5 just yesterday. It highly impresses me. I wonder,... are the "tags" "comments" and any other fields all indexed ? If so, you are much ahead of directory opus in this. :D.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Adding "Tags:" search to Filter Bar

Post by void »

Thank you for your feedback Mati,


How to search (on both filename and tag) but only for those documents that say have a rating higher than 60.
Please try including the following in your search:
rating:>60

Limit your results for the best performance, for example:

ext:mp3 d:\media\ rating:>60


I wonder,... are the "tags" "comments" and any other fields all indexed ?
You can add any property you like to your index.
Indexing properties

Everything will have native support for common properties.
You can index any property with the Windows Property System.

You can also search your windows index with si:
Post Reply