How to favour one file type over another in search results?

You can favour one file type over another by appending contenttype:filetype in search term

eg: test contenttype:pdf

will yield results with pdf files on top.

Examples:

If you need html files to be displayed on top the search should be as follows

test contenttype:html

If you need jpg files to have greater preference the search should be as follows

test contenttype:jpg

 

Have more questions? Submit a request

Comments