Package | Description |
---|---|
org.apache.solr.analytics |
A solr component to compute complex analytics over search results.
|
org.apache.solr.analytics.function |
Functions to use for analytics expressions.
|
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.function.reduction.data |
Reduction data collectors to use while computing 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 | Method and Description |
---|---|
AnalyticsValueStream |
ExpressionFactory.CreatorFunction.apply(AnalyticsValueStream[] t) |
AnalyticsValueStream |
ExpressionFactory.ConstantFunction.apply(String t) |
AnalyticsValueStream |
ExpressionFactory.createExpression(String expressionStr)
Parse and build an expression from the given expression string.
|
Modifier and Type | Method and Description |
---|---|
AnalyticsValueStream |
ExpressionFactory.CreatorFunction.apply(AnalyticsValueStream[] t) |
Modifier and Type | Interface and Description |
---|---|
interface |
ReductionFunction
A function that reduces the values of a mapping expression, field or constant.
|
Modifier and Type | Class and Description |
---|---|
class |
AnalyticsField
An analytics wrapper for Solr Fields.
|
class |
BooleanField
An analytics wrapper for a single-valued
BoolField with DocValues enabled. |
class |
BooleanMultiField
An analytics wrapper for a multi-valued
BoolField with DocValues enabled. |
class |
DateField
An analytics wrapper for a single-valued
TrieDateField or DatePointField with DocValues enabled. |
class |
DateMultiPointField
An analytics wrapper for a multi-valued
DatePointField with DocValues enabled. |
class |
DateMultiTrieField
Deprecated.
Trie fields are deprecated as of Solr 7.0
|
class |
DoubleField
An analytics wrapper for a single-valued
TrieDoubleField or DoublePointField with DocValues enabled. |
class |
DoubleMultiPointField
An analytics wrapper for a multi-valued
DoublePointField with DocValues enabled. |
class |
DoubleMultiTrieField
Deprecated.
Trie fields are deprecated as of Solr 7.0
|
class |
FloatField
An analytics wrapper for a single-valued
TrieFloatField or FloatPointField with DocValues enabled. |
class |
FloatMultiPointField
An analytics wrapper for a multi-valued
FloatPointField with DocValues enabled. |
class |
FloatMultiTrieField
Deprecated.
Trie fields are deprecated as of Solr 7.0
|
class |
IntField
An analytics wrapper for a single-valued
TrieIntField or IntPointField with DocValues enabled. |
class |
IntMultiPointField
An analytics wrapper for a multi-valued
IntPointField with DocValues enabled. |
class |
IntMultiTrieField
Deprecated.
Trie fields are deprecated as of Solr 7.0
|
class |
LongField
An analytics wrapper for a single-valued
TrieLongField or LongPointField with DocValues enabled. |
class |
LongMultiPointField
An analytics wrapper for a multi-valued
LongPointField with DocValues enabled. |
class |
LongMultiTrieField
Deprecated.
Trie fields are deprecated as of Solr 7.0
|
class |
StringField
An analytics wrapper for a single-valued
StrField with DocValues enabled. |
class |
StringMultiField
An analytics wrapper for a multi-valued
StrField with DocValues enabled. |
Modifier and Type | Method and Description |
---|---|
AnalyticsValueStream |
AnalyticsField.convertToConstant() |
Modifier and Type | Class and Description |
---|---|
class |
IfFunction
An if-else mapping function.
|
Modifier and Type | Method and Description |
---|---|
static BooleanValueStream |
ComparisonFunction.createComparisonFunction(String name,
ComparisonFunction.CompResultFunction comp,
AnalyticsValueStream... params)
Create a comparison mapping function, comparing two analytics value (streams) of the same type.
|
static LongValueStream |
DecimalNumericConversionFunction.createDecimalConversionFunction(String name,
DecimalNumericConversionFunction.ConvertFloatFunction fconv,
DecimalNumericConversionFunction.ConvertDoubleFunction dconv,
AnalyticsValueStream... params)
Create a numeric conversion mapping function.
|
Constructor and Description |
---|
IfFunction(BooleanValue ifExpr,
AnalyticsValueStream thenExpr,
AnalyticsValueStream elseExpr) |
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 |
MeanFunction
A reduction function which returns the mean of the values of the given expression.
|
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 values of the given expression.
|
class |
UniqueFunction
A reduction function which returns the number of unique values of the given expression.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
OrdinalFunction.createOrdinalExpressionString(AnalyticsValueStream param,
double ord) |
protected static String |
PercentileFunction.createPercentileExpressionString(AnalyticsValueStream param,
double perc) |
Constructor and Description |
---|
CountFunction(AnalyticsValueStream param) |
DocCountFunction(AnalyticsValueStream param) |
MissingFunction(AnalyticsValueStream param) |
UniqueFunction(AnalyticsValueStream param,
UniqueCollector<?> collector) |
Constructor and Description |
---|
ExpressionCountCollector(AnalyticsValueStream param) |
MaxCollector(AnalyticsValueStream param) |
MinCollector(AnalyticsValueStream param) |
SortedListCollector(AnalyticsValueStream param,
String specificationName) |
UniqueCollector(AnalyticsValueStream param) |
Modifier and Type | Interface and Description |
---|---|
interface |
AnalyticsValue
A single-valued analytics value.
|
interface |
BooleanValue
A single-valued analytics value that can be represented as a boolean.
|
static interface |
BooleanValue.CastingBooleanValue
An interface that represents all of the types a
BooleanValue should be able to cast to. |
interface |
BooleanValueStream
A multi-valued analytics value that can be represented as a boolean.
|
static interface |
BooleanValueStream.CastingBooleanValueStream
An interface that represents all of the types a
BooleanValueStream should be able to cast to. |
interface |
ComparableValue
A single-valued analytics value that can be compared and used to sort a facet.
|
interface |
DateValue
A single-valued analytics value that can be represented as a date.
|
static interface |
DateValue.CastingDateValue
An interface that represents all of the types a
DateValue should be able to cast to. |
interface |
DateValueStream
A multi-valued analytics value that can be represented as a date.
|
static interface |
DateValueStream.CastingDateValueStream
An interface that represents all of the types a
DateValueStream should be able to cast to. |
interface |
DoubleValue
A single-valued analytics value that can be represented as a date.
|
static interface |
DoubleValue.CastingDoubleValue
An interface that represents all of the types a
DoubleValue should be able to cast to. |
interface |
DoubleValueStream
A multi-valued analytics value that can be represented as a boolean.
|
static interface |
DoubleValueStream.CastingDoubleValueStream
An interface that represents all of the types a
DoubleValueStream should be able to cast to. |
interface |
FloatValue
A single-valued analytics value that can be represented as a float.
|
static interface |
FloatValue.CastingFloatValue
An interface that represents all of the types a
FloatValue should be able to cast to. |
interface |
FloatValueStream
A multi-valued analytics value that can be represented as a float.
|
static interface |
FloatValueStream.CastingFloatValueStream
An interface that represents all of the types a
FloatValueStream should be able to cast to. |
interface |
IntValue
A single-valued analytics value that can be represented as an int.
|
static interface |
IntValue.CastingIntValue
An interface that represents all of the types a
IntValue should be able to cast to. |
interface |
IntValueStream
A multi-valued analytics value that can be represented as a int.
|
static interface |
IntValueStream.CastingIntValueStream
An interface that represents all of the types a
IntValueStream should be able to cast to. |
interface |
LongValue
A single-valued analytics value that can be represented as a long.
|
static interface |
LongValue.CastingLongValue
An interface that represents all of the types a
LongValue should be able to cast to. |
interface |
LongValueStream
A multi-valued analytics value that can be represented as a long.
|
static interface |
LongValueStream.CastingLongValueStream
An interface that represents all of the types a
LongValueStream should be able to cast to. |
interface |
StringValue
A single-valued analytics value that can be represented as a string.
|
static interface |
StringValue.CastingStringValue
An interface that represents all of the types a
StringValue should be able to cast to. |
interface |
StringValueStream
A multi-valued analytics value that can be represented as a String.
|
static interface |
StringValueStream.CastingStringValueStream
An interface that represents all of the types a
StringValueStream should be able to cast to. |
Modifier and Type | Method and Description |
---|---|
AnalyticsValueStream |
StringValueStream.AbstractStringValueStream.convertToConstant() |
AnalyticsValueStream |
LongValueStream.AbstractLongValueStream.convertToConstant() |
AnalyticsValueStream |
IntValueStream.AbstractIntValueStream.convertToConstant() |
AnalyticsValueStream |
FloatValueStream.AbstractFloatValueStream.convertToConstant() |
AnalyticsValueStream |
DoubleValueStream.AbstractDoubleValueStream.convertToConstant() |
AnalyticsValueStream |
DateValueStream.AbstractDateValueStream.convertToConstant() |
AnalyticsValueStream |
BooleanValueStream.AbstractBooleanValueStream.convertToConstant() |
AnalyticsValueStream |
AnalyticsValueStream.convertToConstant()
Converts this value to a
ConstantValue if it's expression type is AnalyticsValueStream.ExpressionType.CONST . |
AnalyticsValueStream |
AnalyticsValueStream.AbstractAnalyticsValueStream.convertToConstant() |
AnalyticsValueStream |
AnalyticsValue.AbstractAnalyticsValue.convertToConstant() |
Modifier and Type | Method and Description |
---|---|
static String |
AnalyticsValueStream.createExpressionString(String funcName,
AnalyticsValueStream... params)
Helper to create an expression string for a function.
|
static AnalyticsValueStream.ExpressionType |
AnalyticsValueStream.determineMappingPhase(String exprString,
AnalyticsValueStream... params)
Determine whether the expression is a unreduced mapping expression, a reduced mapping expression, or a constant.
|
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 . |
class |
ConstantValue
The parent class of all constant Analytics values.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.