Package | Description |
---|---|
org.apache.solr.analytics.function.mapping |
Mapping functions to use for analytics expressions.
|
Modifier and Type | Method and Description |
---|---|
static FloatValue |
LambdaFunction.createFloatLambdaFunction(String name,
LambdaFunction.TwoFloatInFloatOutLambda lambda,
FloatValue[] params)
Forwards the creation of the function to
LambdaFunction.createFloatLambdaFunction(String, TwoFloatInFloatOutLambda, FloatValue[], boolean) ,
using for the last argument (allMustExist ). |
static FloatValue |
LambdaFunction.createFloatLambdaFunction(String name,
LambdaFunction.TwoFloatInFloatOutLambda lambda,
FloatValue[] params,
boolean allMustExist)
Creates a function that associatively (order is guaranteed) reduces multiple
single-value float expressions into a single-value float expression for each document.
|
static FloatValue |
LambdaFunction.createFloatLambdaFunction(String name,
LambdaFunction.TwoFloatInFloatOutLambda lambda,
FloatValueStream param)
Creates a function that takes in a multi-valued float expression and returns a single-valued float expression.
|
static FloatValueStream |
LambdaFunction.createFloatLambdaFunction(String name,
LambdaFunction.TwoFloatInFloatOutLambda lambda,
FloatValueStream param1,
FloatValueStream param2)
Creates a function that maps two floats to a single float.
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.