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