| 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  | BooleanFieldAn analytics wrapper for a single-valued  BoolFieldwith DocValues enabled. | 
| class  | DateFieldAn analytics wrapper for a single-valued  TrieDateFieldorDatePointFieldwith DocValues enabled. | 
| 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. | 
| class  | StringFieldAn analytics wrapper for a single-valued  StrFieldwith 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  | 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  | BooleanValue.CastingBooleanValueAn interface that represents all of the types a  BooleanValueshould be able to cast to. | 
| static interface  | DateValue.CastingDateValueAn interface that represents all of the types a  DateValueshould be able to cast to. | 
| 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. | 
| static interface  | StringValue.CastingStringValueAn interface that represents all of the types a  StringValueshould be able to cast to. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | BooleanValue.AbstractBooleanValueAn abstract base for  BooleanValue.CastingBooleanValuethat automatically casts to all types ifBooleanValue.getBoolean()andAnalyticsValue.exists()are implemented. | 
| static class  | DateValue.AbstractDateValueAn abstract base for  DateValue.CastingDateValuethat automatically casts to all types ifLongValue.getLong()andAnalyticsValue.exists()are implemented. | 
| static class  | DoubleValue.AbstractDoubleValueAn abstract base for  DoubleValue.CastingDoubleValuethat automatically casts to all types ifDoubleValue.getDouble()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. | 
| static class  | StringValue.AbstractStringValueAn abstract base for  StringValue.CastingStringValuethat automatically casts to all types ifgetString()andAnalyticsValue.exists()are implemented. | 
| 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. | 
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.