public static class CommandHandler.Builder extends Object
Constructor and Description |
---|
CommandHandler.Builder() |
Modifier and Type | Method and Description |
---|---|
CommandHandler.Builder |
addCommandField(Command commandField) |
CommandHandler |
build() |
CommandHandler.Builder |
setIncludeHitCount(boolean includeHitCount) |
CommandHandler.Builder |
setNeedDocSet(boolean needDocSet)
Sets whether to compute a
DocSet . |
CommandHandler.Builder |
setQueryCommand(SolrIndexSearcher.QueryCommand queryCommand) |
CommandHandler.Builder |
setSearcher(SolrIndexSearcher searcher) |
CommandHandler.Builder |
setTruncateGroups(boolean truncateGroups) |
public CommandHandler.Builder setQueryCommand(SolrIndexSearcher.QueryCommand queryCommand)
public CommandHandler.Builder addCommandField(Command commandField)
public CommandHandler.Builder setSearcher(SolrIndexSearcher searcher)
public CommandHandler.Builder setNeedDocSet(boolean needDocSet)
DocSet
.
May override the value set by setQueryCommand(org.apache.solr.search.SolrIndexSearcher.QueryCommand)
.needDocSet
- Whether to compute a DocSet
public CommandHandler.Builder setTruncateGroups(boolean truncateGroups)
public CommandHandler.Builder setIncludeHitCount(boolean includeHitCount)
public CommandHandler build()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.