public class Grouping.CommandQuery extends Grouping.Command
| Modifier and Type | Field and Description | 
|---|---|
org.apache.lucene.search.Query | 
query  | 
docsPerGroup, format, groupOffset, groupSort, key, main, numGroups, offset, sort, totalCount| Constructor and Description | 
|---|
Grouping.CommandQuery()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected org.apache.lucene.search.Collector | 
createFirstPassCollector()
Returns one or more  
Collector instances that are needed to perform the first pass search. | 
protected void | 
finish()
Performs any necessary post actions to prepare the response. 
 | 
int | 
getMatches()
Returns the number of matches for this  
Command. | 
protected void | 
prepare()
Prepare this  
Command for execution. | 
addDocList, commonResponse, createAllGroupCollector, createSecondPassCollector, createSimpleResponse, getDocList, getNumberOfGroupsprotected void prepare()
                throws IOException
Command for execution.prepare in class Grouping.CommandIOException - If I/O related errors occurprotected org.apache.lucene.search.Collector createFirstPassCollector()
                                                               throws IOException
Collector instances that are needed to perform the first pass search.
 If multiple Collectors are returned then these wrapped in a MultiCollector.createFirstPassCollector in class Grouping.CommandCollector instances that are need to perform the first pass searchIOException - If I/O related errors occurprotected void finish()
               throws IOException
finish in class Grouping.CommandIOException - If I/O related errors occurpublic int getMatches()
Command.getMatches in class Grouping.CommandCommand