How to search multiple file extension?

Modified on Fri, 29 Oct 2021 at 08:24 AM

You can search for documents with specific file types. If you are looking for a specific extension then we suggest to use the file type field in the Refine search section. If you are looking for more than one specific file types, you can separate extensions using the OR keyword in the Refine search section or you can use fielded search operators.

In that case, the needed fielded search operator is @filetype.

Sample queries (typed in the general search field):

  1. @filetype=pdf OR @filetype=doc  (This query allows you to find all MS Word or PDF documents in the Files category.)
  2. vacation (@filetype=jpg OR @filetype =ppt) Or Vacation AND ((@filetype=jpg OR @filetype=ppt)

These two queries allow you to find JPEG pictures or MS Powerpoint presentations that contain the word vacation in either their file names, content or file metadata (title, comment, etc.).

IMPORTANT: Since CDS interprets query spaces like AND operators, it is important to specify the OR operator between each @filetype operator you type. Multiple @filetype separated by AND operators won't return any result as each file only has one extension.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article