summaryrefslogtreecommitdiff
path: root/vendor/ruflin/elastica/lib/Elastica/Facet/Query.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ruflin/elastica/lib/Elastica/Facet/Query.php')
-rw-r--r--vendor/ruflin/elastica/lib/Elastica/Facet/Query.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/vendor/ruflin/elastica/lib/Elastica/Facet/Query.php b/vendor/ruflin/elastica/lib/Elastica/Facet/Query.php
index d43a2375..522090d5 100644
--- a/vendor/ruflin/elastica/lib/Elastica/Facet/Query.php
+++ b/vendor/ruflin/elastica/lib/Elastica/Facet/Query.php
@@ -1,24 +1,24 @@
<?php
-
namespace Elastica\Facet;
use Elastica\Query\AbstractQuery;
/**
- * Query facet
+ * Query facet.
*
- * @category Xodoa
- * @package Elastica
* @author Nicolas Ruflin <spam@ruflin.com>
- * @link http://www.elasticsearch.org/guide/reference/api/search/facets/query-facet.html
+ *
+ * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-query-facet.html
+ * @deprecated Facets are deprecated and will be removed in a future release. You are encouraged to migrate to aggregations instead.
*/
class Query extends AbstractFacet
{
/**
* Set the query for the facet.
*
- * @param \Elastica\Query\AbstractQuery $query
- * @return \Elastica\Facet\Query
+ * @param \Elastica\Query\AbstractQuery $query
+ *
+ * @return $this
*/
public function setQuery(AbstractQuery $query)
{