public abstract class SearchClusteringEngine extends ClusteringEngine
DEFAULT_ENGINE_NAME, ENGINE_NAME| Constructor and Description |
|---|
SearchClusteringEngine() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
cluster(Query query,
SolrDocumentList solrDocumentList,
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.
|
getName, initpublic abstract Object cluster(Query query, SolrDocumentList solrDocumentList, Map<SolrDocument,Integer> docIds, SolrQueryRequest sreq)
SolrQueryResponse.protected Set<String> getFieldsToLoad(SolrQueryRequest sreq)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.