public static class TopGroupsFieldCommand.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TopGroupsFieldCommand |
build() |
TopGroupsFieldCommand.Builder |
setField(SchemaField field) |
TopGroupsFieldCommand.Builder |
setFirstPhaseGroups(Collection<SearchGroup<BytesRef>> firstPhaseGroups) |
TopGroupsFieldCommand.Builder |
setGroupSort(Sort groupSort) |
TopGroupsFieldCommand.Builder |
setMaxDocPerGroup(int maxDocPerGroup) |
TopGroupsFieldCommand.Builder |
setNeedMaxScore(Boolean needMaxScore) |
TopGroupsFieldCommand.Builder |
setNeedScores(Boolean needScores) |
TopGroupsFieldCommand.Builder |
setSortWithinGroup(Sort withinGroupSort) |
public TopGroupsFieldCommand.Builder setField(SchemaField field)
public TopGroupsFieldCommand.Builder setGroupSort(Sort groupSort)
public TopGroupsFieldCommand.Builder setSortWithinGroup(Sort withinGroupSort)
public TopGroupsFieldCommand.Builder setFirstPhaseGroups(Collection<SearchGroup<BytesRef>> firstPhaseGroups)
public TopGroupsFieldCommand.Builder setMaxDocPerGroup(int maxDocPerGroup)
public TopGroupsFieldCommand.Builder setNeedScores(Boolean needScores)
public TopGroupsFieldCommand.Builder setNeedMaxScore(Boolean needMaxScore)
public TopGroupsFieldCommand build()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.