public static class TopGroupsFieldCommand.Builder extends Object
Constructor and Description |
---|
TopGroupsFieldCommand.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 sortWithinGroup) |
public TopGroupsFieldCommand.Builder setField(SchemaField field)
public TopGroupsFieldCommand.Builder setGroupSort(Sort groupSort)
public TopGroupsFieldCommand.Builder setSortWithinGroup(Sort sortWithinGroup)
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-2014 Apache Software Foundation. All Rights Reserved.