Modifier and Type | Class and Description |
---|---|
static class |
TopGroupsFieldCommand.Builder |
Modifier and Type | Method and Description |
---|---|
List<Collector> |
create()
Returns a list of
Collector instances to be
included in the search based on the . |
Sort |
getGroupSort() |
String |
getKey() |
Sort |
getSortWithinGroup() |
TopGroups<BytesRef> |
result()
Returns the results that the collectors created
by
Command.create() contain after a search has been executed. |
public List<Collector> create() throws IOException
Command
Collector
instances to be
included in the search based on the .public TopGroups<BytesRef> result()
Command
Command.create()
contain after a search has been executed.public String getKey()
public Sort getGroupSort()
getGroupSort
in interface Command<TopGroups<BytesRef>>
public Sort getSortWithinGroup()
getSortWithinGroup
in interface Command<TopGroups<BytesRef>>
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.