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.function.reduction |
Reduction 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 |
DoubleField
An analytics wrapper for a single-valued
TrieDoubleField or DoublePointField with DocValues enabled. |
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. |
class |
LongField
An analytics wrapper for a single-valued
TrieLongField or LongPointField with DocValues enabled. |
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.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
CountFunction
A reduction function which either counts the number of values that the parameter expression contains,
or the number of documents returned if no parameter is given.
|
class |
DocCountFunction
A reduction function which either counts the number of Solr Documents for which the parameter expression exists,
or the number of documents returned if no parameter is given.
|
class |
MissingFunction
A reduction function which returns the number of documents for which the given expression does not exist.
|
class |
SumFunction
A reduction function which returns the sum of the sorted values of the given expression.
|
class |
UniqueFunction
A reduction function which returns the number of unique values of the given expression.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
DoubleValue.CastingDoubleValue
An interface that represents all of the types a
DoubleValue should be able to cast to. |
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. |
static interface |
LongValue.CastingLongValue
An interface that represents all of the types a
LongValue should be able to cast to. |
Modifier and Type | Class and Description |
---|---|
static class |
DoubleValue.AbstractDoubleValue
An abstract base for
DoubleValue.CastingDoubleValue that automatically casts to all types if getDouble() and AnalyticsValue.exists() are implemented. |
static class |
FloatValue.AbstractFloatValue
An abstract base for
FloatValue.CastingFloatValue that automatically casts to all types if FloatValue.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. |
static class |
LongValue.AbstractLongValue
An abstract base for
LongValue.CastingLongValue that automatically casts to all types if LongValue.getLong() and AnalyticsValue.exists() are implemented. |
Modifier and Type | Class and Description |
---|---|
class |
ConstantDoubleValue
A constant
DoubleValue . |
class |
ConstantFloatValue
A constant
FloatValue . |
class |
ConstantIntValue
A constant
IntValue . |
class |
ConstantLongValue
A constant
LongValue . |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.