public class Grouping.CommandQuery extends Grouping.Command
| Modifier and Type | Field and Description |
|---|---|
Query |
query |
docsPerGroup, format, groupOffset, groupSort, key, main, numGroups, offset, totalCount, withinGroupSort| Constructor and Description |
|---|
CommandQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected 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, getNumberOfGroups, populateScoresIfNecessarypublic Query query
protected void prepare()
throws IOException
Grouping.CommandCommand for execution.prepare in class Grouping.CommandIOException - If I/O related errors occurprotected Collector createFirstPassCollector() throws IOException
Grouping.CommandCollector 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
Grouping.Commandfinish in class Grouping.CommandIOException - If I/O related errors occurpublic int getMatches()
Grouping.CommandCommand.getMatches in class Grouping.CommandCommandCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.