What does "type:" filter do?
-
- Posts: 4
- Joined: Wed Aug 30, 2023 11:52 pm
What does "type:" filter do?
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?
Re: What does "type:" filter do?
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:
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:
-
- Posts: 4
- Joined: Wed Aug 30, 2023 11:52 pm
Re: What does "type:" filter do?
Thanks, I understand now. That thread also looks a lot more helpful than the documentation