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