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 SummaryFields Modifier and Type Field Description static java.lang.StringTYPE
 - 
Constructor SummaryConstructors Constructor Description MaxFieldStrategy(java.lang.String fieldName)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MaxFieldStrategyclone()java.lang.StringgetFieldName()- 
Methods inherited from class com.lucidworks.search.dsl.request.DslCloneableclone, deepClone
 
- 
 
- 
- 
- 
Field Detail- 
TYPEpublic static final java.lang.String TYPE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getFieldNamepublic java.lang.String getFieldName() - Returns:
- numeric field to find max value on
 
 - 
clonepublic MaxFieldStrategy clone() - Specified by:
- clonein class- GroupLeaderStrategy
 
 
- 
 
-