From 80f7dc77d430774192b929d780f96260066df2ee Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 18 Oct 2015 09:31:31 +0200 Subject: Update to MediaWiki 1.25.3 --- vendor/ruflin/elastica/lib/Elastica/Query/Term.php | 49 ---------------------- 1 file changed, 49 deletions(-) delete mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Term.php (limited to 'vendor/ruflin/elastica/lib/Elastica/Query/Term.php') diff --git a/vendor/ruflin/elastica/lib/Elastica/Query/Term.php b/vendor/ruflin/elastica/lib/Elastica/Query/Term.php deleted file mode 100644 index eb20eb86..00000000 --- a/vendor/ruflin/elastica/lib/Elastica/Query/Term.php +++ /dev/null @@ -1,49 +0,0 @@ - - * @link http://www.elasticsearch.org/guide/reference/query-dsl/term-query.html - */ -class Term extends AbstractQuery -{ - /** - * Constructs the Term query object - * - * @param array $term OPTIONAL Calls setTerm with the given $term array - */ - public function __construct(array $term = array()) - { - $this->setRawTerm($term); - } - - /** - * Set term can be used instead of addTerm if some more special - * values for a term have to be set. - * - * @param array $term Term array - * @return \Elastica\Query\Term Current object - */ - public function setRawTerm(array $term) - { - return $this->setParams($term); - } - - /** - * Adds a term to the term query - * - * @param string $key Key to query - * @param string|array $value Values(s) for the query. Boost can be set with array - * @param float $boost OPTIONAL Boost value (default = 1.0) - * @return \Elastica\Query\Term Current object - */ - public function setTerm($key, $value, $boost = 1.0) - { - return $this->setRawTerm(array($key => array('value' => $value, 'boost' => $boost))); - } -} -- cgit v1.2.3-54-g00ecf