Skip to content
Snippets Groups Projects
Commit d51de492 authored by Simonas Šerlinskas's avatar Simonas Šerlinskas
Browse files

added filter deprecation message in the docs

parent 2072395a
No related branches found
No related tags found
No related merge requests found
# Filter # Filter
> WARNING: Filters are deprecated since 1.1 and will be removed in 2.0. Elasticsearch from 2.0 casts queries the same way as filters, so there is no reason to have both. More information in [the elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html)
Objective filter builder represents all available [Elasticsearch filters][1]. Objective filter builder represents all available [Elasticsearch filters][1].
To form a filtered query you have to create `Search` object. See below an example of match all filter usage. To form a filtered query you have to create `Search` object. See below an example of match all filter usage.
......
...@@ -9,6 +9,8 @@ Everything starts from the `Search` object. We recommend first to take a look at ...@@ -9,6 +9,8 @@ Everything starts from the `Search` object. We recommend first to take a look at
- [Build Filters](Filter/index.md) - [Build Filters](Filter/index.md)
- [Build Aggregations](Aggregation/index.md) - [Build Aggregations](Aggregation/index.md)
> WARNING: Filters are deprecated since 1.1 and will be removed in 2.0. Elasticsearch from 2.0 casts queries the same way as filters, so there is no reason to have both. More information in [the elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html)
### How to ### How to
- [How to Search](HowTo/HowToSearch.md) - [How to Search](HowTo/HowToSearch.md)
- [How to set custom parameters to Search](HowTo/CustomParameters.md) - [How to set custom parameters to Search](HowTo/CustomParameters.md)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment