Package org.apache.solr.search.grouping
Class CommandHandler.Builder
java.lang.Object
org.apache.solr.search.grouping.CommandHandler.Builder
- Enclosing class:
CommandHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCommandField(Command<?> commandField) build()setIncludeHitCount(boolean includeHitCount) setNeedDocSet(boolean needDocSet) Sets whether to compute aDocSet.setQueryCommand(QueryCommand queryCommand) setSearcher(SolrIndexSearcher searcher) setTruncateGroups(boolean truncateGroups)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setQueryCommand
-
addCommandField
-
setSearcher
-
setNeedDocSet
Sets whether to compute aDocSet. May override the value set bysetQueryCommand(org.apache.solr.search.QueryCommand).- Parameters:
needDocSet- Whether to compute aDocSet- Returns:
- this
-
setTruncateGroups
-
setIncludeHitCount
-
build
-