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 |
DateField
An analytics wrapper for a single-valued
TrieDateField or DatePointField 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. |
Modifier and Type | Method and Description |
---|---|
static LongValue |
LambdaFunction.createLongLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
LongValue[] params)
Forwards the creation of the function to
LambdaFunction.createLongLambdaFunction(String, TwoLongInLongOutLambda, LongValue[], boolean) ,
using for the last argument (allMustExist ). |
static LongValue |
LambdaFunction.createLongLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
LongValue[] params,
boolean allMustExist)
Creates a function that associatively (order is guaranteed) reduces multiple
single-value long expressions into a single-value long expression for each document.
|
static LongValue |
LambdaFunction.createLongLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
LongValueStream param)
Creates a function that takes in a multi-valued long expression and returns a single-valued long expression.
|
Modifier and Type | Method and Description |
---|---|
static LongValue |
LambdaFunction.createLongLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
LongValue[] params)
Forwards the creation of the function to
LambdaFunction.createLongLambdaFunction(String, TwoLongInLongOutLambda, LongValue[], boolean) ,
using for the last argument (allMustExist ). |
static LongValue |
LambdaFunction.createLongLambdaFunction(String name,
LambdaFunction.TwoLongInLongOutLambda lambda,
LongValue[] params,
boolean allMustExist)
Creates a function that associatively (order is guaranteed) reduces multiple
single-value long expressions into a single-value long expression for each document.
|
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 |
MissingFunction
A reduction function which returns the number of documents for which the given expression does not exist.
|
class |
UniqueFunction
A reduction function which returns the number of unique values of the given expression.
|
Modifier and Type | Interface and Description |
---|---|
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. |
static interface |
IntValue.CastingIntValue
An interface that represents all of the types a
IntValue should be able to cast to. |
static interface |
LongValue.CastingLongValue
An interface that represents all of the types a
LongValue should be able to cast to. |
Modifier and Type | Class and Description |
---|---|
static class |
DateValue.AbstractDateValue
An abstract base for
DateValue.CastingDateValue that automatically casts to all types if getLong() and AnalyticsValue.exists() are implemented. |
static class |
IntValue.AbstractIntValue
An abstract base for
IntValue.CastingIntValue that automatically casts to all types if IntValue.getInt() and AnalyticsValue.exists() are implemented. |
static class |
LongValue.AbstractLongValue
An abstract base for
LongValue.CastingLongValue that automatically casts to all types if getLong() and AnalyticsValue.exists() are implemented. |
Modifier and Type | Class and Description |
---|---|
class |
ConstantDateValue
A constant
DateValue . |
class |
ConstantIntValue
A constant
IntValue . |
class |
ConstantLongValue
A constant
LongValue . |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.