What does "type:" filter do?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Destroy666
Posts: 4
Joined: Wed Aug 30, 2023 11:52 pm

What does "type:" filter do?

Post by Destroy666 »

The documentation isn't describing it any accurately, just that it's filtering for file type. I tried it with various values and it seems it matches extension, even if it's not full match? E.g. "type:jp" would match .jpg and .jpeg files. Is that right?
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: What does "type:" filter do?

Post by void »

type: matches the system type description of the current file.

This is a partial search by default.



For example, a txt file has a type of "Text Document".

Searching for type:text will partially match the Text part in "Text Document"



Use the exact: search modifier to match the whole type:
exact:type:"Text Document"



type: is rather slow as the type description is gathered from the system for each file extension.

The following searches are instant:
ext:jpg
ext:jpg;jpeg
*.jpg



type:
Destroy666
Posts: 4
Joined: Wed Aug 30, 2023 11:52 pm

Re: What does "type:" filter do?

Post by Destroy666 »

Thanks, I understand now. That thread also looks a lot more helpful than the documentation 👍
Post Reply