Package | Description |
---|---|
org.apache.solr.analytics.function.field |
Fields to use for analytics expressions.
|
org.apache.solr.analytics.function.mapping |
Mapping functions to use for analytics expressions.
|
org.apache.solr.analytics.value |
Value types for analytics expressions.
|
org.apache.solr.analytics.value.constant |
Constant values to be used in analytics expressions.
|
Modifier and Type | Class and Description |
---|---|
class |
FloatField
An analytics wrapper for a single-valued
TrieFloatField or FloatPointField with DocValues enabled. |
class |
IntField
An analytics wrapper for a single-valued
TrieIntField or IntPointField with DocValues enabled. |
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.
|
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.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
FloatValue.CastingFloatValue
An interface that represents all of the types a
FloatValue should be able to cast to. |
static interface |
IntValue.CastingIntValue
An interface that represents all of the types a
IntValue should be able to cast to. |
Modifier and Type | Class and Description |
---|---|
static class |
FloatValue.AbstractFloatValue
An abstract base for
FloatValue.CastingFloatValue that automatically casts to all types if getFloat() and AnalyticsValue.exists() are implemented. |
static class |
IntValue.AbstractIntValue
An abstract base for
IntValue.CastingIntValue that automatically casts to all types if IntValue.getInt() and AnalyticsValue.exists() are implemented. |
Modifier and Type | Class and Description |
---|---|
class |
ConstantFloatValue
A constant
FloatValue . |
class |
ConstantIntValue
A constant
IntValue . |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.