Multiple tags search

Discussion related to "Everything" 1.5 Alpha.
Post Reply
55bb
Posts: 3
Joined: Sat May 08, 2021 12:32 am

Multiple tags search

Post by 55bb »

Hi all

I love this program and was really happy to see that a new version was supporting tag searching :)

Perhaps I missed it in these forums, but is there any way to search using more than one tag? I have many photos which I added tags to using the standard Windows tag properties, but searching using Everything only seems to work using a single tag... I have tried using logical operators and ; to separate the tag words but it doesn't seem to work :(

I know this is an Alpha version and this feature may not be available, so if someone could tell me I'd really appreciate it :)

Thanks

55bb
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: Multiple tags search

Post by void »

Thank you for your feedback 55bb,

I will look into adding support for tags:abc;123 for the next alpha update.

For now, you will need to search for:
tags:<abc 123>
-or-
tag:abc tag:123
55bb
Posts: 3
Joined: Sat May 08, 2021 12:32 am

Re: Multiple tags search

Post by 55bb »

Thanks for your very quick reply Void :)

I've tried your suggestions but am not getting any results :(

I'll try again tomorrow (or later today!) - I'm in Ireland and it's 02h35! :o

Thanks again!

55bb
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: Multiple tags search

Post by void »

What search options do you have checked under the Search menu?

Please try unchecking all search options.

Could you please give an example of the tag shown in the Tag column and the search you are trying?

Note: you can right click the text in the tag column to Copy Tag to Clipboard.
55bb
Posts: 3
Joined: Sat May 08, 2021 12:32 am

Re: Multiple tags search

Post by 55bb »

Hi Void

Apologies for the delay in replying.

I've just tried some tag searching again and it seems to be working now as I'm getting the results I expected.

I don't quite understand it but the main thing is it's working :)

Thanks for your help!
Zayus
Posts: 1
Joined: Mon May 10, 2021 6:29 am

Re: Multiple tags search

Post by Zayus »

Curiously enough, searching multiple tags works, but if they aren't searched in the same order as they are entered, or if the tag is interrupted, the search fails.
For example
Tag:Thought;Bike
will find
Thought;Bike
but
Bike; Thought
and
Thought; This; Bike
are excluded.
In other words, multiple tag searching seems superficial in that it just defines a list of tags as one tag with semicolons in the tag itself. I know that's not the case but that's the feeling you get.

Aside from that, this program is only two or three tweaks away from practically replacing Windows Explorer for me.
I haven't found pathway filter options yet, I guess its counterintuitive anyways.

My suggestion without making my own thread which is really focused on tagging and I know it's not a simple feature to implement, but it would be the end-all program to tag junkies if you could actually edit the tags themselves in the column besides Date/Path. I found that this can be done through windows explorer in a similar way through the details pane, but it's just easier to manage in Everything.
I'll be hard pressed to find a program more adept at helping a person organize their PC through tags even though it's not designed specifically for that. I have removed 7 other downloads that were supposed to be 'tag magicians' and were all bad. Downloaded this by mistake in that pursuit and its the only thing I kept. Thanks Void!
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: Multiple tags search

Post by void »

Thank you for your feedback Zayus,

Everything is currently matching the ; literally.

I am looking into making the ; treated as the AND operator.
For now, you will need to search for:
tag:<thought bike>
-or-
tag:thought tag:bike



Having
tag:Thought;Bike
search for:
Tag:Thought AND Tag:Bike
is the most logical.

Most other functions will treat ; as OR which might be confusing.
For example:
ext:jpg;png

There's still a lot more work to do with Tag Editing and property UI.
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: Multiple tags search

Post by aviasd »

Zayus wrote: Mon May 10, 2021 8:02 am

Aside from that, this program is only two or three tweaks away from practically replacing Windows Explorer for me.
I haven't found pathway filter options yet, I guess its counterintuitive anyways.
To filter by path, just type in the path!
IMO it cannot be more intuitive than that... :mrgreen:
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: Multiple tags search

Post by void »

Everything 1.5.0.1259a adds support for searching tags with a semicolon delimited list.

For example:
tag:thought;bike

; = AND
bogordo
Posts: 3
Joined: Sat May 15, 2021 12:46 pm

Re: Multiple tags search

Post by bogordo »

Hi,

I have several problems with tag searching:
- Using "tag" instead of "Tag" is lagging-breaking the app, Everything closes suddenly.
- Some searches don't appear in the results (and appear searching by name)
- Would be nice to have the option to search for "Tag:*" for every tagged files.

Thank you,
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: Multiple tags search

Post by void »

Thank you for your feedback bogordo,
Using "tag" instead of "Tag" is lagging-breaking the app, Everything closes suddenly.
tag: and Tag: do the same thing.

The lagging might be Everything being too aggressive with reading and searching tags.
Please try reducing the number of threads Everything uses to read tags:
  • In Everything, type in the following search and press ENTER:
    /no_incur_seek_penalty_multithreaded=0
  • If successful, you should see no_incur_seek_penalty_multithreaded=0 in the statusbar for a few seconds.
  • type in the following search and press ENTER:
    /restart
  • Does Everything hang after typing in a tag search?
Everything uses the Windows Property System "Keyword" property to search tags.
The crash (without dialog) is most likely a shell extension blowing up the stack.

See if you can find the file causing the crash by limiting your results with an extension search.
For example:
*.doc
*.doc "c:\my docs\"
-If you find a specific file causing the crash, please let me know.

- Some searches don't appear in the results (and appear searching by name)
It will depend on where the tag is stored.
Currently, Everything only supports tags with the Windows Property System keywords.
This is the Tags field in the file's Properties window under Details.
Do you have a file where Everything is not searching this tag correctly?

- Would be nice to have the option to search for "Tag:*" for every tagged files.
To find files with a tag, search for:
tag:
-or-
wildcards:tag:*




For the best performance, use tag: with an extension search.
For example:
*.mp3 tag:"my tag"
*.doc tag:"my tag"
*.jpg tag:"my tag"
tuska
Posts: 1098
Joined: Thu Jul 13, 2017 9:14 am

Re: Multiple tags search

Post by tuska »

Hi,
void wrote: Sun May 16, 2021 3:53 am Everything uses the Windows Property System "Keyword" property to search tags.

Currently, Everything only supports tags with the Windows Property System keywords.
This is the Tags field in the file's Properties window under Details.
What selection would I have to make in the "Select Property" dialogue under "Windows Property System",
so that I can query Windows tags and comments on the "Details" tab in Everything?
2021-05-16_Comments_Tags.png
2021-05-16_Comments_Tags.png (37.62 KiB) Viewed 22117 times
 
With these settings I did not get any search result:

Code: Select all

Details 	Property System 	System.Sync.Comments
Kommentare	Property System		System.Comment
system.sam.usercomment:
2021-05-16_Comments_Tags_Windows Property System.png
2021-05-16_Comments_Tags_Windows Property System.png (42.6 KiB) Viewed 22117 times
 
Thanks!
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

Re: Multiple tags search

Post by NotNull »

Untested, but I think taht would be the following canonicalnames:

System.Keywords
System.Comment
tuska
Posts: 1098
Joined: Thu Jul 13, 2017 9:14 am

Re: Multiple tags search

Post by tuska »

NotNull wrote: Sun May 16, 2021 6:09 pm Untested, but I think taht would be the following canonicalnames:

System.Keywords
System.Comment
Hi,
Thank you for your tips - they are the right names. :)

Windows Property System

Code: Select all

Name		  Type			Canonical Name		Note
------------------------------------------------------------------------
Kommentare	  Property System	System.Comment		Comments
Markierungen	  Property System	System.Keywords		Tags
Right click on column header ...

Code: Select all

- Search for Comment ..... -> comment:	...............		OK
- Search for Kommentare .. -> system.comment: .........		brings as search result: 0 objects
- Search for Tags -> tags: ............................		OK
- Search for Markierungen  -> system.keywords: ........		brings as search result: 0 objects
Searchbox from Everything - search for ...

Code: Select all

- comment:Spalten .....................................		OK
- comment:<Column|Backup> .............................		OK
- comment:Column;Backup ...............................		0 objects ... ";" would be desirable ... also for System.Comment
- tag:Durchschnitt ....................................		OK
- tag:Termine .........................................  	OK
- tag:Durchschnitt;Termine ............................		0 objects ... Terms are present in the "Markierungen" column
___________________________________________________________________________
Windows 10 Pro (x64) Version 20H2 (OS build 19042.985) | 'Everything' 1.5.0.1259a (x64)
Post Reply