Search pages and sites

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

Typically, the 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

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

temperature url:en.wikipedia.org/wiki/Climate_change 
url: hostname/category/* 

This 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. The URL in the query should be enclosed in inverted commas if it contains one of the following 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

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

search site:wikiquote.org 

Search pages on a specific host

Operator

Syntax

Query description and example

host:

host:host name in the format www.second-level domain.top-level domain 

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

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 

This 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.* 

This 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 host name 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 

This finds documents containing the word "search" and hosted on the com domain:

search domain:com