public class SearchGroupsFieldCommand extends Object implements Command<Pair<Integer,Collection<org.apache.lucene.search.grouping.SearchGroup<org.apache.lucene.util.BytesRef>>>>
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchGroupsFieldCommand.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.lucene.search.Collector> |
create()
Returns a list of
Collector instances to be
included in the search based on the . |
org.apache.lucene.search.Sort |
getGroupSort() |
String |
getKey() |
org.apache.lucene.search.Sort |
getSortWithinGroup() |
Pair<Integer,Collection<org.apache.lucene.search.grouping.SearchGroup<org.apache.lucene.util.BytesRef>>> |
result()
Returns the results that the collectors created
by
Command.create() contain after a search has been executed. |
public List<org.apache.lucene.search.Collector> create() throws IOException
CommandCollector instances to be
included in the search based on the .create in interface Command<Pair<Integer,Collection<org.apache.lucene.search.grouping.SearchGroup<org.apache.lucene.util.BytesRef>>>>Collector instancesIOException - If I/O related errors occurpublic Pair<Integer,Collection<org.apache.lucene.search.grouping.SearchGroup<org.apache.lucene.util.BytesRef>>> result()
CommandCommand.create() contain after a search has been executed.result in interface Command<Pair<Integer,Collection<org.apache.lucene.search.grouping.SearchGroup<org.apache.lucene.util.BytesRef>>>>public org.apache.lucene.search.Sort getSortWithinGroup()
getSortWithinGroup in interface Command<Pair<Integer,Collection<org.apache.lucene.search.grouping.SearchGroup<org.apache.lucene.util.BytesRef>>>>public org.apache.lucene.search.Sort getGroupSort()
getGroupSort in interface Command<Pair<Integer,Collection<org.apache.lucene.search.grouping.SearchGroup<org.apache.lucene.util.BytesRef>>>>Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.