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.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 | Method and Description |
---|---|
AnalyticsValue |
AnalyticsExpression.getExpression() |
Constructor and Description |
---|
AnalyticsExpression(String name,
AnalyticsValue expression) |
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 |
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 | 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 | Interface and Description |
---|---|
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 |
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 |
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 |
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 |
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 |
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 |
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. |
Modifier and Type | Class and Description |
---|---|
static class |
AnalyticsValue.AbstractAnalyticsValue
An abstract base for
AnalyticsValue that automatically casts to castable types. |
static class |
BooleanValue.AbstractBooleanValue
An abstract base for
BooleanValue.CastingBooleanValue that automatically casts to all types if BooleanValue.getBoolean() and exists() are implemented. |
static class |
DateValue.AbstractDateValue
An abstract base for
DateValue.CastingDateValue that automatically casts to all types if LongValue.getLong() and exists() are implemented. |
static class |
DoubleValue.AbstractDoubleValue
An abstract base for
DoubleValue.CastingDoubleValue that automatically casts to all types if DoubleValue.getDouble() and exists() are implemented. |
static class |
FloatValue.AbstractFloatValue
An abstract base for
FloatValue.CastingFloatValue that automatically casts to all types if FloatValue.getFloat() and exists() are implemented. |
static class |
IntValue.AbstractIntValue
An abstract base for
IntValue.CastingIntValue that automatically casts to all types if IntValue.getInt() and exists() are implemented. |
static class |
LongValue.AbstractLongValue
An abstract base for
LongValue.CastingLongValue that automatically casts to all types if LongValue.getLong() and exists() are implemented. |
static class |
StringValue.AbstractStringValue
An abstract base for
StringValue.CastingStringValue that automatically casts to all types if StringValue.getString() and exists() are implemented. |
Modifier and Type | Method and Description |
---|---|
AnalyticsValue |
StringValue.AbstractStringValue.convertToConstant() |
AnalyticsValue |
LongValue.AbstractLongValue.convertToConstant() |
AnalyticsValue |
IntValue.AbstractIntValue.convertToConstant() |
AnalyticsValue |
FloatValue.AbstractFloatValue.convertToConstant() |
AnalyticsValue |
DoubleValue.AbstractDoubleValue.convertToConstant() |
AnalyticsValue |
DateValue.AbstractDateValue.convertToConstant() |
AnalyticsValue |
BooleanValue.AbstractBooleanValue.convertToConstant() |
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.
|
Modifier and Type | Method and Description |
---|---|
AnalyticsValue |
ConstantValue.convertToConstant() |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.