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: | | Finds documents containing the word “temperature” and located at the specified address: |
| Finds documents that contain the word “warming” and have addresses starting with en.wikipedia.org/wiki : |
Operator | Syntax | Query description and example |
---|---|---|
url: | | Finds documents containing the word “temperature” and located at the specified address: |
| Finds documents that contain the word “warming” and have addresses starting with 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: '
"
(
)
_
.
Search all subdomains and pages of a specific site
Operator | Syntax | Query description and example |
---|---|---|
site: | | Finds documents containing the word “search” and posted on the subdomains and pages of the wikiquote.org site: |
Operator | Syntax | Query description and example |
---|---|---|
site: | | Finds documents containing the word “search” and posted on the subdomains and pages of the wikiquote.org site: |
Search pages on a specific host
Operator | Syntax | Query description and example |
---|---|---|
host: | | Finds documents containing the word “warming” and hosted on the www.wikipedia.org host: |
Operator | Syntax | Query description and example |
---|---|---|
host: | | Finds documents containing the word “warming” and hosted on the www.wikipedia.org host: |
Identical to the url: operator with the specified hostname.
Operator | Syntax | Query description and example |
---|---|---|
rhost: | | Finds documents containing the word “warming” and hosted on the wikipedia.org domain: |
| Finds documents containing the word “warming” and hosted on all subdomains of the wikipedia.org domain: |
Operator | Syntax | Query description and example |
---|---|---|
rhost: | | Finds documents containing the word “warming” and hosted on the wikipedia.org domain: |
| Finds documents containing the word “warming” and hosted on all subdomains of the wikipedia.org domain: |
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: | | Finds documents containing the word “search” and located on the com domain: |
Operator | Syntax | Query description and example |
---|---|---|
domain: | | Finds documents containing the word “search” and located on the com domain: |