File tree 7 files changed +14
-8
lines changed
test/lib/Elastica/Test/Query
7 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1
1
CHANGES
2
2
3
+ 2014-04-27
4
+ - Fix missing use in TermsStats->setOrder()
5
+ - Replace all instances of ElasticSearch with Elasticsearch
6
+
3
7
2014-04-24
4
8
- Fixing the Bool filter with Bool filter children bug #594
5
9
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public function getErrorMessage($error)
63
63
$ error = "Couldn't resolve host " ;
64
64
break ;
65
65
case CURLE_COULDNT_CONNECT :
66
- $ error = "Couldn't connect to host, ElasticSearch down? " ;
66
+ $ error = "Couldn't connect to host, Elasticsearch down? " ;
67
67
break ;
68
68
case 28 :
69
69
$ error = "Operation timed out " ;
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public function setFilter(AbstractFilter $filter)
80
80
/**
81
81
* Sets the flag to either run the facet globally or bound to the
82
82
* current search query. When not set, it defaults to the
83
- * ElasticSearch default value.
83
+ * Elasticsearch default value.
84
84
*
85
85
* @param bool $global Flag to either run the facet globally.
86
86
* @return \Elastica\Facet\AbstractFacet
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class Terms extends AbstractFacet
18
18
{
19
19
/**
20
20
* Holds the types of ordering which are allowed
21
- * by ElasticSearch .
21
+ * by Elasticsearch .
22
22
*
23
23
* @var array
24
24
*/
@@ -75,7 +75,7 @@ public function setAllTerms($allTerms)
75
75
}
76
76
77
77
/**
78
- * Sets the ordering type for this facet. ElasticSearch
78
+ * Sets the ordering type for this facet. Elasticsearch
79
79
* internal default is count.
80
80
*
81
81
* @param string $type The order type to set use for sorting of the terms.
Original file line number Diff line number Diff line change 2
2
3
3
namespace Elastica \Facet ;
4
4
5
+ use Elastica \Exception \InvalidException ;
6
+
5
7
/**
6
8
* Implements the statistical facet on a per term basis.
7
9
*
@@ -15,7 +17,7 @@ class TermsStats extends AbstractFacet
15
17
16
18
/**
17
19
* Holds the types of ordering which are allowed
18
- * by ElasticSearch .
20
+ * by Elasticsearch .
19
21
*
20
22
* @var array
21
23
*/
@@ -46,7 +48,7 @@ public function setValueScript( $valueScript )
46
48
}
47
49
48
50
/**
49
- * Sets the ordering type for this facet. ElasticSearch
51
+ * Sets the ordering type for this facet. Elasticsearch
50
52
* internal default is count.
51
53
*
52
54
* @param string $type The order type to set use for sorting of the terms.
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ public function explain($value = true)
285
285
* In the simple case, a facet can return facet counts for various facet
286
286
* values for a specific field.
287
287
*
288
- * ElasticSearch supports more advanced facet implementations, such as
288
+ * Elasticsearch supports more advanced facet implementations, such as
289
289
* statistical or date histogram facets.
290
290
*
291
291
* @return \Elastica\Query\Builder
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public function testFuzzy()
77
77
78
78
public function testFuzzyWithOptions1 ()
79
79
{
80
- // Here ElasticSearch will not accept mispells
80
+ // Here Elasticsearch will not accept mispells
81
81
// on the first 6 letters.
82
82
$ this ->multiMatch ->setQuery ('Tritsan ' ); // Mispell on purpose
83
83
$ this ->multiMatch ->setFields (array ('full_name ' , 'name ' ));
You can’t perform that action at this time.
0 commit comments