public class CarrotClusteringEngine extends SearchClusteringEngine
DEFAULT_ENGINE_NAME, ENGINE_NAME| Constructor and Description |
|---|
CarrotClusteringEngine() |
| Modifier and Type | Method and Description |
|---|---|
Object |
cluster(Query query,
SolrDocumentList solrDocList,
Map<SolrDocument,Integer> docIds,
SolrQueryRequest sreq)
Do the clustering, return a clusters structure to be appended to
SolrQueryResponse. |
protected Set<String> |
getFieldsToLoad(SolrQueryRequest sreq)
Returns the set of field names to load.
|
String |
init(NamedList config,
SolrCore core) |
getNamepublic String init(NamedList config, SolrCore core)
init in class ClusteringEnginepublic Object cluster(Query query, SolrDocumentList solrDocList, Map<SolrDocument,Integer> docIds, SolrQueryRequest sreq)
SearchClusteringEngineSolrQueryResponse.cluster in class SearchClusteringEngineprotected Set<String> getFieldsToLoad(SolrQueryRequest sreq)
SearchClusteringEnginegetFieldsToLoad in class SearchClusteringEngineCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.