Document operators

You can refine your search query by using data pertaining to service information about the pages. For example, you can restrict the search by file type, host, and so on.

Typically, the document operator is specified after the text of the search query and is separated from it by a space. You can simultaneously use multiple operators in one query by separating them with a space.

Operator

Description

Syntax

Example of a query

url:

Search pages located at the specified address (URL).

Note. The address is not case sensitive.

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 quotation marks if it contains one of the following characters:

  • '
  • "
  • (
  • )
  • _
url:full URL
url:host name/category/*

[Alice url:en.wikiquote.org/wiki/*]

Documents that contain the name “Alice” and have addresses starting with en.wikiquote.org/wiki will be found.

site:

Search by all subdomains and pages of the specified site.

site:website URL

[site:https://en.wikiquote.org]

All documents posted on the subdomains and pages of the website https://en.wikiquote.org will be found.

host:

Search pages hosted on this host.

Identical to the url: operator with the specified host name.

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

[search host:www.yandex.com]

Documents containing the word “search” and hosted on the www.yandex.com host will be found.

rhost:

Search pages hosted on this host.

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.

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

[news rhost:com.livejournal.www]

Documents containing the word “news” and hosted on the livejournal.com domain will be found.

[news rhost:com.livejournal.*]

Documents containing the word “news” and hosted on all subdomains of the livejournal.com domain will be found.

domain:

Search pages located on the specified domain.

domain:domain

[yandex domain:com]

Documents containing the word “yandex” and located on the com domain will be found.

mime:

Search for documents with the specified file type.

The supported file types are listed on the advanced search page.

mime:file type

[passport application form mime:doc]

Documents in the doc format containing the “application form” and “passport” words will be found.

lang:

Search by pages in the specified language:

  • Russian (ru)

  • Ukrainian (uk)

  • Belarusian (be)

  • English (en)

  • French (fr)

  • German (de)

  • Kazakh (kk)

  • Tatar (tt)

  • Turkish (tr)

lang: language

[passport lang:en]

The search will return documents in English containing the word “passport”.

date:

Search by page restricted by the date they were last modified.

Note. The year of change must be specified. The month and day can be replaced with the * character.

Page change:

  • corresponds to the specified date:

    date:YYYYMMDD
  • is in the range:

    date:YYYYMMDD..YYYYMMDD
  • is before or after the specified date (<, <=, >, >=):

    date:<YYYYMMDD

The date of page change is specified in part:

date:YYYY**

The search will return the documents with the change date: