We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52702fa commit 2939190Copy full SHA for 2939190
changes.txt
@@ -1,5 +1,8 @@
1
CHANGES
2
3
+2013-11-03
4
+- Issue #490: Set Elastica\Query\FunctionScore::DECAY_EXPONENTIAL to "exp" instead of "exponential"
5
+
6
2013-10-29
7
- Elastica_Type::exists() added
8
See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-types-exists.html#indices-types-exists
lib/Elastica/Query/FunctionScore.php
@@ -26,7 +26,7 @@ class FunctionScore extends AbstractQuery
26
const SCORE_MODE_MIN = 'min';
27
28
const DECAY_GUASS = 'gauss';
29
- const DECAY_EXPONENTIAL = 'exponential';
+ const DECAY_EXPONENTIAL = 'exp';
30
const DECAY_LINEAR = 'linear';
31
32
protected $_functions = array();
0 commit comments