Class MinFieldStrategy
- 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.MinFieldStrategy
-
public class MinFieldStrategy extends GroupLeaderStrategy
Selects the group head document for each group based on which document has the min value of the specified numeric field
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
-
Constructor Summary
Constructors Constructor Description MinFieldStrategy(java.lang.String fieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MinFieldStrategy
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 min value on
-
clone
public MinFieldStrategy clone()
- Specified by:
clone
in classGroupLeaderStrategy
-
-