| 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  | ReductionFunctionA function that reduces the values of a mapping expression, field or constant. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AnalyticsFieldAn analytics wrapper for Solr Fields. | 
| class  | BooleanFieldAn analytics wrapper for a single-valued  BoolFieldwith DocValues enabled. | 
| class  | BooleanMultiFieldAn analytics wrapper for a multi-valued  BoolFieldwith DocValues enabled. | 
| class  | DateFieldAn analytics wrapper for a single-valued  TrieDateFieldorDatePointFieldwith DocValues enabled. | 
| class  | DateMultiPointFieldAn analytics wrapper for a multi-valued  DatePointFieldwith DocValues enabled. | 
| class  | DateMultiTrieFieldDeprecated. 
 Trie fields are deprecated as of Solr 7.0 | 
| class  | DoubleFieldAn analytics wrapper for a single-valued  TrieDoubleFieldorDoublePointFieldwith DocValues enabled. | 
| class  | DoubleMultiPointFieldAn analytics wrapper for a multi-valued  DoublePointFieldwith DocValues enabled. | 
| class  | DoubleMultiTrieFieldDeprecated. 
 Trie fields are deprecated as of Solr 7.0 | 
| class  | FloatFieldAn analytics wrapper for a single-valued  TrieFloatFieldorFloatPointFieldwith DocValues enabled. | 
| class  | FloatMultiPointFieldAn analytics wrapper for a multi-valued  FloatPointFieldwith DocValues enabled. | 
| class  | FloatMultiTrieFieldDeprecated. 
 Trie fields are deprecated as of Solr 7.0 | 
| class  | IntFieldAn analytics wrapper for a single-valued  TrieIntFieldorIntPointFieldwith DocValues enabled. | 
| class  | IntMultiPointFieldAn analytics wrapper for a multi-valued  IntPointFieldwith DocValues enabled. | 
| class  | IntMultiTrieFieldDeprecated. 
 Trie fields are deprecated as of Solr 7.0 | 
| class  | LongFieldAn analytics wrapper for a single-valued  TrieLongFieldorLongPointFieldwith DocValues enabled. | 
| class  | LongMultiPointFieldAn analytics wrapper for a multi-valued  LongPointFieldwith DocValues enabled. | 
| class  | LongMultiTrieFieldDeprecated. 
 Trie fields are deprecated as of Solr 7.0 | 
| class  | StringFieldAn analytics wrapper for a single-valued  StrFieldwith DocValues enabled. | 
| class  | StringMultiFieldAn analytics wrapper for a multi-valued  StrFieldwith DocValues enabled. | 
| Modifier and Type | Method and Description | 
|---|---|
| AnalyticsValueStream | AnalyticsField. convertToConstant() | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | IfFunctionAn 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  | CountFunctionA 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  | DocCountFunctionA 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  | MeanFunctionA reduction function which returns the mean of the values of the given expression. | 
| class  | MissingFunctionA reduction function which returns the number of documents for which the given expression does not exist. | 
| class  | SumFunctionA reduction function which returns the sum of the values of the given expression. | 
| class  | UniqueFunctionA 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  | AnalyticsValueA single-valued analytics value. | 
| interface  | BooleanValueA single-valued analytics value that can be represented as a boolean. | 
| static interface  | BooleanValue.CastingBooleanValueAn interface that represents all of the types a  BooleanValueshould be able to cast to. | 
| interface  | BooleanValueStreamA multi-valued analytics value that can be represented as a boolean. | 
| static interface  | BooleanValueStream.CastingBooleanValueStreamAn interface that represents all of the types a  BooleanValueStreamshould be able to cast to. | 
| interface  | ComparableValueA single-valued analytics value that can be compared and used to sort a facet. | 
| interface  | DateValueA single-valued analytics value that can be represented as a date. | 
| static interface  | DateValue.CastingDateValueAn interface that represents all of the types a  DateValueshould be able to cast to. | 
| interface  | DateValueStreamA multi-valued analytics value that can be represented as a date. | 
| static interface  | DateValueStream.CastingDateValueStreamAn interface that represents all of the types a  DateValueStreamshould be able to cast to. | 
| interface  | DoubleValueA single-valued analytics value that can be represented as a date. | 
| static interface  | DoubleValue.CastingDoubleValueAn interface that represents all of the types a  DoubleValueshould be able to cast to. | 
| interface  | DoubleValueStreamA multi-valued analytics value that can be represented as a boolean. | 
| static interface  | DoubleValueStream.CastingDoubleValueStreamAn interface that represents all of the types a  DoubleValueStreamshould be able to cast to. | 
| interface  | FloatValueA single-valued analytics value that can be represented as a float. | 
| static interface  | FloatValue.CastingFloatValueAn interface that represents all of the types a  FloatValueshould be able to cast to. | 
| interface  | FloatValueStreamA multi-valued analytics value that can be represented as a float. | 
| static interface  | FloatValueStream.CastingFloatValueStreamAn interface that represents all of the types a  FloatValueStreamshould be able to cast to. | 
| interface  | IntValueA single-valued analytics value that can be represented as an int. | 
| static interface  | IntValue.CastingIntValueAn interface that represents all of the types a  IntValueshould be able to cast to. | 
| interface  | IntValueStreamA multi-valued analytics value that can be represented as a int. | 
| static interface  | IntValueStream.CastingIntValueStreamAn interface that represents all of the types a  IntValueStreamshould be able to cast to. | 
| interface  | LongValueA single-valued analytics value that can be represented as a long. | 
| static interface  | LongValue.CastingLongValueAn interface that represents all of the types a  LongValueshould be able to cast to. | 
| interface  | LongValueStreamA multi-valued analytics value that can be represented as a long. | 
| static interface  | LongValueStream.CastingLongValueStreamAn interface that represents all of the types a  LongValueStreamshould be able to cast to. | 
| interface  | StringValueA single-valued analytics value that can be represented as a string. | 
| static interface  | StringValue.CastingStringValueAn interface that represents all of the types a  StringValueshould be able to cast to. | 
| interface  | StringValueStreamA multi-valued analytics value that can be represented as a String. | 
| static interface  | StringValueStream.CastingStringValueStreamAn interface that represents all of the types a  StringValueStreamshould 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  ConstantValueif it's expression type isAnalyticsValueStream.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  | ConstantBooleanValueA constant  BooleanValue. | 
| class  | ConstantDateValueA constant  DateValue. | 
| class  | ConstantDoubleValueA constant  DoubleValue. | 
| class  | ConstantFloatValueA constant  FloatValue. | 
| class  | ConstantIntValueA constant  IntValue. | 
| class  | ConstantLongValueA constant  LongValue. | 
| class  | ConstantStringValueA constant  StringValue. | 
| class  | ConstantValueThe parent class of all constant Analytics values. | 
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.