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 |
BooleanField
An analytics wrapper for a single-valued
BoolField with DocValues enabled. |
class |
DateField
An analytics wrapper for a single-valued
TrieDateField or DatePointField with DocValues enabled. |
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. |
class |
StringField
An analytics wrapper for a single-valued
StrField with DocValues enabled. |
Modifier and Type | Method and Description |
---|---|
static StringValue |
LambdaFunction.createStringLambdaFunction(String name,
LambdaFunction.TwoStringInStringOutLambda lambda,
StringValue[] params)
Forwards the creation of the function to
LambdaFunction.createStringLambdaFunction(String, TwoStringInStringOutLambda, StringValue[], boolean) ,
using for the last argument (allMustExist ). |
static StringValue |
LambdaFunction.createStringLambdaFunction(String name,
LambdaFunction.TwoStringInStringOutLambda lambda,
StringValue[] params,
boolean allMustExist)
Creates a function that associatively (order is guaranteed) reduces multiple
single-value string expressions into a single-value string expression for each document.
|
static StringValue |
LambdaFunction.createStringLambdaFunction(String name,
LambdaFunction.TwoStringInStringOutLambda lambda,
StringValueStream param)
Creates a function that takes in a multi-valued string expression and returns a single-valued string expression.
|
Modifier and Type | Method and Description |
---|---|
static StringValue |
LambdaFunction.createStringLambdaFunction(String name,
LambdaFunction.TwoStringInStringOutLambda lambda,
StringValue[] params)
Forwards the creation of the function to
LambdaFunction.createStringLambdaFunction(String, TwoStringInStringOutLambda, StringValue[], boolean) ,
using for the last argument (allMustExist ). |
static StringValue |
LambdaFunction.createStringLambdaFunction(String name,
LambdaFunction.TwoStringInStringOutLambda lambda,
StringValue[] params,
boolean allMustExist)
Creates a function that associatively (order is guaranteed) reduces multiple
single-value string expressions into a single-value string 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 |
BooleanValue.CastingBooleanValue
An interface that represents all of the types a
BooleanValue should be able to cast to. |
static interface |
DateValue.CastingDateValue
An interface that represents all of the types a
DateValue should be able to cast to. |
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. |
static interface |
StringValue.CastingStringValue
An interface that represents all of the types a
StringValue should be able to cast to. |
Modifier and Type | Class and Description |
---|---|
static class |
BooleanValue.AbstractBooleanValue
An abstract base for
BooleanValue.CastingBooleanValue that automatically casts to all types if BooleanValue.getBoolean() and AnalyticsValue.exists() are implemented. |
static class |
DateValue.AbstractDateValue
An abstract base for
DateValue.CastingDateValue that automatically casts to all types if LongValue.getLong() and AnalyticsValue.exists() are implemented. |
static class |
DoubleValue.AbstractDoubleValue
An abstract base for
DoubleValue.CastingDoubleValue that automatically casts to all types if DoubleValue.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. |
static class |
StringValue.AbstractStringValue
An abstract base for
StringValue.CastingStringValue that automatically casts to all types if getString() and AnalyticsValue.exists() are implemented. |
Modifier and Type | Class and Description |
---|---|
class |
ConstantBooleanValue
A constant
BooleanValue . |
class |
ConstantDateValue
A constant
DateValue . |
class |
ConstantDoubleValue
A constant
DoubleValue . |
class |
ConstantFloatValue
A constant
FloatValue . |
class |
ConstantIntValue
A constant
IntValue . |
class |
ConstantLongValue
A constant
LongValue . |
class |
ConstantStringValue
A constant
StringValue . |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.