---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://yandex.com/support/search/en/query-language/search-operators.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/search/en/llms.txt

# Search by date, language, and file type

To refine search results, you can use the file type, language, and publication date operators.

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](https://yandex.com/support/webmaster/yandex-indexing/site-mirrors.xml). For example,  [host:archive.org], not [host:www.archive.org]. You can [add a host](https://webmaster.yandex.com/sites/add/) to the Yandex database to find out whether a specific address is the primary one.

## Search by file type {#mime}

Supported types: 

<div class="striped-none">

#|
||
`pdf`
|
`xls`
|
`ods`
||
||
`rtf`
|
`ppt`
|
`odp`
||
||
`swf`
|
`odt`
|
`odg`
||
||
`doc`
|

|

||
|#

 



#|
||
**Operator**
|
**Syntax**
|
**Query description and example**
||
||
`mime:`
|
``` 
mime:file type 
```
|
Shows documents in `DOC` format containing the words "application" and "passport":

``` 
passport application mime:doc 
```
||

|#

</div>

## Search by language {#lang}

The value is a two-letter language code in the [ISO 639-1](https://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D0%B4%D1%8B_%D1%8F%D0%B7%D1%8B%D0%BA%D0%BE%D0%B2#%D0%A2%D0%B0%D0%B1%D0%BB%D0%B8%D1%86%D0%B0_%D1%81_%D0%BA%D0%BE%D0%B4%D0%B0%D0%BC%D0%B8_%D1%8F%D0%B7%D1%8B%D0%BA%D0%BE%D0%B2_%D0%BF%D0%BE_ISO_639_%D0%B8_%D0%93%D0%9E%D0%A1%D0%A2_7.75-97) standard. Popular values:
- `de`: German.
- `en`: English.
- `fr`: French.
- `ru`: Russian.

<div class="striped-none">

#|
||
**Operator**
|
**Syntax**
|
**Query description and example**
||
||
`lang:`
|
``` 
lang: language 
```
|

``` 
passeport lang:fr 
```
||

|#

</div>

## Search by publication date {#date}

<div class="striped-none">

#|
||
**Operator**
|
**Syntax**
|
**Query description and example**
||
||
`date:`
|
The page publication date matches the date you enter: 
``` 
date:YYYYMMDD 
```
|
Show documents published on October 1, 2023:

``` 
festival date:20231001 
```
||
||
^
|
The page publication date is before or after the date you enter (<, <=, >, >=):
``` 
date:<YYYYMMDD 
```
|
Show documents published after October 1, 2023:

``` 
festival date:>20231001 
```
||
||
^
|
The page publication date is within a certain range: 
``` 
date:YYYYMMDD..YYYYMMDD 
```
|
Shows documents added between January 1, 2023 and October 1, 2023, inclusive:

``` 
festival date:20230101..20231001 
```
||
||
^
|
The page was published in a certain month: 
``` 
date:YYYYMM* 
```
|
Shows documents added in October of 2023:

``` 
festival date:202310* 
```
||
||
^
|
The page publication date is not specified fully: 
``` 
date:YYYY* 
```
|
Shows documents published in 2023:

``` 
festival date:2023* 
```
||

|#

</div>

{% note info %}

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

{% endnote %}


[Contact support](https://yandex.com/support/search/en/troubleshooting/feedback.md){.button}

<!-- source: en/_includes/button.md -->

<!-- endsource: en/_includes/button.md -->
