| 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  | DoubleFieldAn analytics wrapper for a single-valued  TrieDoubleFieldorDoublePointFieldwith DocValues enabled. | 
| class  | FloatFieldAn analytics wrapper for a single-valued  TrieFloatFieldorFloatPointFieldwith DocValues enabled. | 
| class  | IntFieldAn analytics wrapper for a single-valued  TrieIntFieldorIntPointFieldwith DocValues enabled. | 
| class  | LongFieldAn analytics wrapper for a single-valued  TrieLongFieldorLongPointFieldwith 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  | 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 | Interface and Description | 
|---|---|
| static interface  | DoubleValue.CastingDoubleValueAn interface that represents all of the types a  DoubleValueshould be able to cast to. | 
| static interface  | FloatValue.CastingFloatValueAn interface that represents all of the types a  FloatValueshould be able to cast to. | 
| static interface  | IntValue.CastingIntValueAn interface that represents all of the types a  IntValueshould be able to cast to. | 
| static interface  | LongValue.CastingLongValueAn interface that represents all of the types a  LongValueshould be able to cast to. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DoubleValue.AbstractDoubleValueAn abstract base for  DoubleValue.CastingDoubleValuethat automatically casts to all types ifgetDouble()andAnalyticsValue.exists()are implemented. | 
| static class  | FloatValue.AbstractFloatValueAn abstract base for  FloatValue.CastingFloatValuethat automatically casts to all types ifFloatValue.getFloat()andAnalyticsValue.exists()are implemented. | 
| static class  | IntValue.AbstractIntValueAn abstract base for  IntValue.CastingIntValuethat automatically casts to all types ifIntValue.getInt()andAnalyticsValue.exists()are implemented. | 
| static class  | LongValue.AbstractLongValueAn abstract base for  LongValue.CastingLongValuethat automatically casts to all types ifLongValue.getLong()andAnalyticsValue.exists()are implemented. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ConstantDoubleValueA constant  DoubleValue. | 
| class  | ConstantFloatValueA constant  FloatValue. | 
| class  | ConstantIntValueA constant  IntValue. | 
| class  | ConstantLongValueA constant  LongValue. | 
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.