Search pages and sites

You can specify your search query using document operators, such as the host where the site pages are located.

Typically, an operator is specified after the text of the search query and is separated from it by a space. You can use multiple operators in the same query, separating them with a space. If an operator itself contains a space, replace it with the %20 character combination.

When using operators where the hostname is a parameter (url, host, or rhost), enter the primary site address. For example, [host:archive.org], not [host:www.archive.org]. You can add a host to the Yandex database to find out whether a specific address is the primary one.

Search pages located at a specific address (URL)

Operator

Syntax

Query description and example

url:

url:full URL

Finds documents containing the word "temperature" and located at the specified address:

temperature url:en.wikipedia.org/wiki/Climate_change

url: hostname/category/*

Finds documents that contain the word "warming" and have addresses starting with en.wikipedia.org/wiki :

warming url:en.wikipedia.org/wiki/*

To find all documents with addresses that start with the specified value, put the * character at the end of the URL. Put the URL in the query in quotation marks if it contains one of these characters: ' " ( ) _.

Note

The address isn't case sensitive.

Search all subdomains and pages of a specific site

Operator

Syntax

Query description and example

site:

site:website URL

Finds documents containing the word "search" and posted on the subdomains and pages of the wikiquote.org site:

search site:wikiquote.org

Search pages on a specific host

Operator

Syntax

Query description and example

host:

host:hostname formatted as www.second-level domain.top-level domain

Finds documents containing the word "warming" and hosted on the www.wikipedia.org host:

warming host:www.wikipedia.org

Identical to the url: operator with the specified hostname.

Operator

Syntax

Query description and example

rhost:

rhost:hostname formatted as top-level domain.second-level domain.www

Finds documents containing the word "warming" and hosted on the wikipedia.org domain:

warming rhost:org.wikipedia.www

rhost:hostname formatted as top-level domain.second-level domain*

Finds documents containing the word "warming" and hosted on all subdomains of the wikipedia.org domain:

warming rhost:org.wikipedia.*

Identical to the host: operator, but the hostname is written in reverse order: the top-level domain first, then the second-level domain, and so on.

To search by all subdomains of the specified domain, put the * character at the end of the URL.

Search pages on a specific domain

Operator

Syntax

Query description and example

domain:

domain:domain

Finds documents containing the word "search" and located on the com domain:

search domain:com