Using Search options

/date 

This option displays the most recent articles on top of the list; The downside of this option is, that it overrules other search criteria and prioritize the last updated sources. This may give many unrelated pages. To avoid that, be more precise, by typing more search pattern when you use this option


Using Advanced Search Parameters

more parameters here

Most search requests usually contain just one word. If more than one word is used, all words will be assumed to be part of an AND relation. Besides searching for certain words with YaCy, you can use more advanced methods to put a search request:

Excluding a Word

To exclude a word from a search, a minus (-) can be used: for example, if searching for jaguar produces too many results associated with cars when in fact you are looking for the animal, searching for jaguar -car might lead to better results.

NEAR

/near can be used to rank results higher if search words appear in the text close to each other. Example: apache server /near It does not matter where NEAR is located in the search term. apache server NEAR and apache NEAR server should return the same results.

site:

findsomething site:yacy.net will limit the results to the domain yacy.net, subdomains excluded. See tld: operator also.

tld:

findsomething tld:co.uk will limit the results to domains ending with .co.uk. This can also be used to search on subdomains.

inurl:

findsomething inurl:source will limit the results to URLs which contain the phrase "source".

filetype:

findsomething filetype:pdf will limit the results to URLs which end with .pdf.

LANGUAGE:

findsomething LANGUAGE:en will rank results in English language higher. (Note: Language detection is still very experimental!)

RECENT

/date will rank recently crawled pages higher. (NOTE: In this recent-mode, other criteria have less priority, so you will get some unwanted pages that only accidentally contains the searced word once).

Protocol

findsomething /ftp will limit the results to URLs with FTP protocol (ftp://). List of available protocol: /https /http /ftp /smb or /file

author:

findsomething author:busch will limit the results to URLs with author "busch". findsomething author:(Wilhelm busch) will limit the results to URLs with author "Wilhelm busch".

Date Search

To search for results mentioning a specific date. Note: to support date search index field dates_in_content_dts must be switched on

on:

findsomething on:2016/01/01 will limit the results to URLs which contain the given date in the content.

from: to:

findsomething from:2016/01/01 will limit the results to URLs which contain a date on or after the from: parameter.
findsomething to:2016/01/01 will limit the results to URLs which contain a date on or before the to: parameter.
Both can be combinded to limit results to the given date range findsomething from:2016/01/01 to:2016/12/31