Class DocumentClusteringEngine


  • public abstract class DocumentClusteringEngine
    extends ClusteringEngine
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • DocumentClusteringEngine

        public DocumentClusteringEngine()
    • Method Detail

      • cluster

        public abstract NamedList<?> cluster​(SolrParams solrParams)
        Experimental. Subject to change before the next release Cluster all the documents in the index. Clustering is often an expensive task that can take a long time.
        Parameters:
        solrParams - The params controlling clustering
        Returns:
        The clustering results
      • cluster

        public abstract NamedList<?> cluster​(DocSet docs,
                                             SolrParams solrParams)
        Experimental. Subject to change before the next release Cluster the set of docs. Clustering of documents is often an expensive task that can take a long time.
        Parameters:
        docs - The docs to cluster. If null, cluster all docs as in cluster(org.apache.solr.common.params.SolrParams)
        solrParams - The params controlling the clustering
        Returns:
        The results.