Class: Enums::CombineFunctions
- Inherits:
-
Object
- Object
- Enums::CombineFunctions
- Defined in:
- lib/enums/combine_functions.rb
Overview
Enumerator class for boost modes while combining aggregated function scores together with the sub query score
Class Method Summary collapse
-
.avg ⇒ CombineFunctions
CombineFunctions object corresponding to elasticsearch option of ‘avg’.
-
.max ⇒ CombineFunctions
CombineFunctions object corresponding to elasticsearch option of ‘max’.
-
.min ⇒ CombineFunctions
CombineFunctions object corresponding to elasticsearch option of ‘min’.
-
.multiply ⇒ CombineFunctions
CombineFunctions object corresponding to elasticsearch option of ‘multiply’.
-
.replace ⇒ CombineFunctions
CombineFunctions object corresponding to elasticsearch option of ‘replace’.
-
.sum ⇒ CombineFunctions
CombineFunctions object corresponding to elasticsearch option of ‘sum’.
Class Method Details
.avg ⇒ CombineFunctions
Returns CombineFunctions object corresponding to elasticsearch option of ‘avg’.
|
# File 'lib/enums/combine_functions.rb', line 34
|
.max ⇒ CombineFunctions
Returns CombineFunctions object corresponding to elasticsearch option of ‘max’.
|
# File 'lib/enums/combine_functions.rb', line 39
|
.min ⇒ CombineFunctions
Returns CombineFunctions object corresponding to elasticsearch option of ‘min’.
|
# File 'lib/enums/combine_functions.rb', line 44
|
.multiply ⇒ CombineFunctions
Returns CombineFunctions object corresponding to elasticsearch option of ‘multiply’.
|
# File 'lib/enums/combine_functions.rb', line 19
|
.replace ⇒ CombineFunctions
Returns CombineFunctions object corresponding to elasticsearch option of ‘replace’.
|
# File 'lib/enums/combine_functions.rb', line 24
|
.sum ⇒ CombineFunctions
Returns CombineFunctions object corresponding to elasticsearch option of ‘sum’.
|
# File 'lib/enums/combine_functions.rb', line 29
|