|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.solr.search.grouping.distributed.command.SearchGroupsFieldCommand
public class SearchGroupsFieldCommand
Creates all the collectors needed for the first phase and how to handle the results.
| Nested Class Summary | |
|---|---|
static class |
SearchGroupsFieldCommand.Builder
|
| Method Summary | |
|---|---|
List<Collector> |
create()
Returns a list of Collector instances to be
included in the search based on the . |
Sort |
getGroupSort()
|
String |
getKey()
|
Sort |
getSortWithinGroup()
|
Pair<Integer,Collection<SearchGroup<BytesRef>>> |
result()
Returns the results that the collectors created by Command.create() contain after a search has been executed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public List<Collector> create()
throws IOException
CommandCollector instances to be
included in the search based on the .
create in interface Command<Pair<Integer,Collection<SearchGroup<BytesRef>>>>Collector instances
IOException - If I/O related errors occurpublic Pair<Integer,Collection<SearchGroup<BytesRef>>> result()
CommandCommand.create() contain after a search has been executed.
result in interface Command<Pair<Integer,Collection<SearchGroup<BytesRef>>>>public Sort getSortWithinGroup()
getSortWithinGroup in interface Command<Pair<Integer,Collection<SearchGroup<BytesRef>>>>public Sort getGroupSort()
getGroupSort in interface Command<Pair<Integer,Collection<SearchGroup<BytesRef>>>>public String getKey()
getKey in interface Command<Pair<Integer,Collection<SearchGroup<BytesRef>>>>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||