Skip to content

Commit cd54655

Browse files
committed
Add deprecation docblocks
1 parent 9df5fc5 commit cd54655

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

lib/Elastica/QueryBuilder/DSL/Query.php

+1
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ public function more_like_this()
322322
* more_like_this_field query
323323
*
324324
* @link http://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-mlt-field-query.html
325+
* @deprecated More Like This Field query is deprecated as of ES 1.4 and will be removed in ES 2.0
325326
*/
326327
public function more_like_this_field()
327328
{

lib/Elastica/Transport/Memcache.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* @category Xodoa
1717
* @package Elastica
1818
* @author Nicolas Ruflin <[email protected]>
19+
* @deprecated The memcached transport is deprecated as of ES 1.5, and will be removed in ES 2.0
1920
*/
2021
class Memcache extends AbstractTransport
2122
{

lib/Elastica/Transport/Thrift.php

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @category Xodoa
2727
* @package Elastica
2828
* @author Mikhail Shamin <[email protected]>
29+
* @deprecated The thrift transport is deprecated as of ES 1.5, and will be removed in ES 2.0
2930
*/
3031
class Thrift extends AbstractTransport
3132
{

lib/Elastica/Type.php

+1
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@ public function deleteIds(array $ids, $routing = false)
452452
* @param array $options Optional params
453453
* @return \Elastica\Response
454454
* @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html
455+
* @deprecated Delete by Query api is deprecated as of ES 1.5, and will be removed in ES 2.0
455456
*/
456457
public function deleteByQuery($query, array $options = array())
457458
{

0 commit comments

Comments
 (0)