Class MultFunction
java.lang.Object
org.apache.solr.analytics.function.mapping.MultFunction
An multiplication mapping function.
Uses:
- If a single numeric ValueStream is passed in, a
DoubleValuerepresenting the multiplication of the values for each document is returned. - If a numeric ValueStream and a numeric Value are passed in, a
DoubleValueStreamrepresenting the multiplication of the Value and each of the values of the ValueStream for a document is returned. (Or the other way, since the Value and ValueStream can be used in either order) - If multiple numeric Values are passed in, a
DoubleValuerepresenting the multiplication of all values is returned.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExpressionFactory.CreatorFunctionstatic final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
- See Also:
-
creatorFunction
-
-
Constructor Details
-
MultFunction
public MultFunction()
-