Class TopFunction
- java.lang.Object
-
- org.apache.solr.analytics.function.mapping.TopFunction
-
public class TopFunction extends Object
A top mapping function, returning the highest value found.Uses:
- If a single comparable ValueStream is passed in, a Value (of the same type) representing the maximum of the values for each document is returned.
- If multiple comparable Values are passed in, a Value (of the same type) representing the maximum of all values is returned.
-
-
Field Summary
Fields Modifier and Type Field Description static ExpressionFactory.CreatorFunction
creatorFunction
static String
name
-
Constructor Summary
Constructors Constructor Description TopFunction()
-
-
-
Field Detail
-
name
public static final String name
- See Also:
- Constant Field Values
-
creatorFunction
public static final ExpressionFactory.CreatorFunction creatorFunction
-
-