Skip to content

Commit

Permalink
Add deprecation docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
im-denisenko committed Apr 6, 2015
1 parent 9df5fc5 commit cd54655
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Elastica/QueryBuilder/DSL/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ public function more_like_this()
* more_like_this_field query
*
* @link http://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-mlt-field-query.html
* @deprecated More Like This Field query is deprecated as of ES 1.4 and will be removed in ES 2.0
*/
public function more_like_this_field()
{
Expand Down
1 change: 1 addition & 0 deletions lib/Elastica/Transport/Memcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* @category Xodoa
* @package Elastica
* @author Nicolas Ruflin <spam@ruflin.com>
* @deprecated The memcached transport is deprecated as of ES 1.5, and will be removed in ES 2.0
*/
class Memcache extends AbstractTransport
{
Expand Down
1 change: 1 addition & 0 deletions lib/Elastica/Transport/Thrift.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @category Xodoa
* @package Elastica
* @author Mikhail Shamin <munk13@gmail.com>
* @deprecated The thrift transport is deprecated as of ES 1.5, and will be removed in ES 2.0
*/
class Thrift extends AbstractTransport
{
Expand Down
1 change: 1 addition & 0 deletions lib/Elastica/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ public function deleteIds(array $ids, $routing = false)
* @param array $options Optional params
* @return \Elastica\Response
* @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html
* @deprecated Delete by Query api is deprecated as of ES 1.5, and will be removed in ES 2.0
*/
public function deleteByQuery($query, array $options = array())
{
Expand Down

0 comments on commit cd54655

Please sign in to comment.