Class: Enums::ScoreModes
- Inherits:
-
Object
- Object
- Enums::ScoreModes
- Defined in:
- lib/enums/score_modes.rb
Overview
Enumerator class for how results of individual score functions will be aggregated
Class Method Summary collapse
-
.avg ⇒ ScoreModes
ScoreModes object corresponding to elasticsearch option of ‘avg’.
-
.first ⇒ ScoreModes
ScoreModes object corresponding to elasticsearch option of ‘first’.
-
.max ⇒ ScoreModes
ScoreModes object corresponding to elasticsearch option of ‘max’.
-
.min ⇒ ScoreModes
ScoreModes object corresponding to elasticsearch option of ‘min’.
-
.multiply ⇒ ScoreModes
ScoreModes object corresponding to elasticsearch option of ‘multiply’.
-
.sum ⇒ ScoreModes
ScoreModes object corresponding to elasticsearch option of ‘sum’.
Class Method Details
.avg ⇒ ScoreModes
Returns ScoreModes object corresponding to elasticsearch option of ‘avg’.
|
# File 'lib/enums/score_modes.rb', line 29
|
.first ⇒ ScoreModes
Returns ScoreModes object corresponding to elasticsearch option of ‘first’.
|
# File 'lib/enums/score_modes.rb', line 34
|
.max ⇒ ScoreModes
Returns ScoreModes object corresponding to elasticsearch option of ‘max’.
|
# File 'lib/enums/score_modes.rb', line 39
|
.min ⇒ ScoreModes
Returns ScoreModes object corresponding to elasticsearch option of ‘min’.
|
# File 'lib/enums/score_modes.rb', line 44
|
.multiply ⇒ ScoreModes
Returns ScoreModes object corresponding to elasticsearch option of ‘multiply’.
|
# File 'lib/enums/score_modes.rb', line 19
|
.sum ⇒ ScoreModes
Returns ScoreModes object corresponding to elasticsearch option of ‘sum’.
|
# File 'lib/enums/score_modes.rb', line 24
|