From 6630767c217bece9d08b959563129d0ad0a2b20d Mon Sep 17 00:00:00 2001
From: Mantas Varatiejus <mantas.varatiejus@nfq.com>
Date: Tue, 26 Jan 2016 15:29:09 +0200
Subject: [PATCH] Remove deprecated stuff

---
 .travis.yml                      |  2 +-
 docs/Query/FuzzyLikeThisField.md | 40 --------------------------------
 docs/Query/FuzzyLikeThisQuery.md | 36 ----------------------------
 docs/Query/index.md              |  2 --
 4 files changed, 1 insertion(+), 79 deletions(-)
 delete mode 100644 docs/Query/FuzzyLikeThisField.md
 delete mode 100644 docs/Query/FuzzyLikeThisQuery.md

diff --git a/.travis.yml b/.travis.yml
index 624f94c..9a0196d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,7 +13,7 @@ before_script:
   - composer install --no-interaction --prefer-dist
 script:
   - vendor/bin/phpunit --coverage-clover=coverage.clover
-  - vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/,src/Filter/ ./
+  - vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/ ./
 after_script:
   - vendor/bin/coveralls
 notifications:
diff --git a/docs/Query/FuzzyLikeThisField.md b/docs/Query/FuzzyLikeThisField.md
deleted file mode 100644
index d2a7d3c..0000000
--- a/docs/Query/FuzzyLikeThisField.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# Fuzzy Like This Field Query
-          
-__DEPRECATED__: this query is deprecated and will be removed in ElasticsearchDSL 2.0
-
-> More info about fuzzy like this field query is in the [official elasticsearch docs][1]
-
-The fuzzy like this field query is the same as the [fuzzy like this query][2], except that it runs against a single
-field. It provides nicer query DSL over the generic fuzzy like this query, and support typed fields query
-(automatically wraps typed fields with type filter to match only on the specific type).
-
-## Simple example
-
-```JSON
-{
-    "fuzzy_like_this_field" : {
-        "name.first" : {
-            "like_text" : "text like this one",
-            "max_query_terms" : 12
-        }
-    }
-}
-```
-
-In DSL:
-
-```php
-$fuzzyLikeThisFieldQuery = new FuzzyLikeThisFieldQuery(
-    'name.first',
-    'text like this one',
-    [ 'max_query_terms' => 12 ]
-);
-
-$search = new Search();
-$search->addQuery($fuzzyLikeThisFieldQuery);
-
-$queryArray = $search->toArray();
-```
-
-[1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-flt-field-query.html
-[2]: FuzzyLikeThisQuery.md
diff --git a/docs/Query/FuzzyLikeThisQuery.md b/docs/Query/FuzzyLikeThisQuery.md
deleted file mode 100644
index 58eca8e..0000000
--- a/docs/Query/FuzzyLikeThisQuery.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# Fuzzy Like This Query
-      
-__DEPRECATED__: this query is deprecated and will be removed in ElasticsearchDSL 2.0
-
-> More info about fuzzy like this field query is in the [official elasticsearch docs][1]
-
-Fuzzy like this query find documents that are "like" provided text by running it against one or more fields.
-
-## Simple example
-
-```JSON
-{
-    "fuzzy_like_this" : {
-        "fields" : ["name.first", "name.last"],
-        "like_text" : "text like this one",
-        "max_query_terms" : 12
-    }
-}
-```
-
-In DSL:
-
-```php
-$fuzzyLikeThisQuery = new FuzzyLikeThisQuery(
-    ['name.first', 'name.last'],
-    'text like this one',
-    [ 'max_query_terms' => 12 ]
-);
-
-$search = new Search();
-$search->addQuery($fuzzyLikeThisQuery);
-
-$queryArray = $search->toArray();
-```
-
-[1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-flt-query.html
diff --git a/docs/Query/index.md b/docs/Query/index.md
index 1540fa0..29cc121 100644
--- a/docs/Query/index.md
+++ b/docs/Query/index.md
@@ -34,8 +34,6 @@ For more information how to combine search queries take a look at [How to search
  - [DisMax](DisMax.md)
  - [Function score](FunctionScore.md)
  - [Fuzzy](Fuzzy.md)
- - [Fuzzy like this field](FuzzyLikeThisField.md)
- - [Fuzzy like this query](FuzzyLikeThisQuery.md)
  - [Has child](HasChild.md)
  - [Has parent](HasParent.md)
  - [Ids](Ids.md)
-- 
GitLab