Class MaxFieldStrategy
- java.lang.Object
-
- com.lucidworks.search.dsl.DslBase
-
- com.lucidworks.search.dsl.request.DslCloneable
-
- com.lucidworks.search.dsl.request.GroupLeaderStrategy
-
- com.lucidworks.search.dsl.request.MaxFieldStrategy
-
public class MaxFieldStrategy extends GroupLeaderStrategy
Selects the group head document for each group based on which document has the max value of the specified numeric field
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
-
Constructor Summary
Constructors Constructor Description MaxFieldStrategy(java.lang.String fieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaxFieldStrategy
clone()
java.lang.String
getFieldName()
-
Methods inherited from class com.lucidworks.search.dsl.request.DslCloneable
clone, deepClone
-
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFieldName
public java.lang.String getFieldName()
- Returns:
- numeric field to find max value on
-
clone
public MaxFieldStrategy clone()
- Specified by:
clone
in classGroupLeaderStrategy
-
-