Skip to content

Commit 2939190

Browse files
committed
Issue #490: Set Elastica\Query\FunctionScore::DECAY_EXPONENTIAL to "exp" instead of "exponential"
1 parent 52702fa commit 2939190

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

changes.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
CHANGES
22

3+
2013-11-03
4+
- Issue #490: Set Elastica\Query\FunctionScore::DECAY_EXPONENTIAL to "exp" instead of "exponential"
5+
36
2013-10-29
47
- Elastica_Type::exists() added
58
See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-types-exists.html#indices-types-exists

lib/Elastica/Query/FunctionScore.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class FunctionScore extends AbstractQuery
2626
const SCORE_MODE_MIN = 'min';
2727

2828
const DECAY_GUASS = 'gauss';
29-
const DECAY_EXPONENTIAL = 'exponential';
29+
const DECAY_EXPONENTIAL = 'exp';
3030
const DECAY_LINEAR = 'linear';
3131

3232
protected $_functions = array();

0 commit comments

Comments
 (0)