public interface Command<T>
Collector instances are created
and how the results are retrieved from the Collector instances.| 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() |
T |
result()
Returns the results that the collectors created
by
create() contain after a search has been executed. |
List<org.apache.lucene.search.Collector> create() throws IOException
Collector instances to be
included in the search based on the .Collector instancesIOException - If I/O related errors occurT result()
create() contain after a search has been executed.String getKey()
org.apache.lucene.search.Sort getGroupSort()
org.apache.lucene.search.Sort getSortWithinGroup()