public class Cluster
extends java.lang.Object
A cluster represents a set of documents that are considered closely related based on a search term.
| Constructor and Description |
|---|
Cluster() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ClusterRecord> |
getRecords() |
java.lang.String |
getTerm() |
Cluster |
setRecords(java.util.List<ClusterRecord> records)
Set a list of cluster records
|
Cluster |
setTerm(java.lang.String term)
Set the term for this cluster. |
public java.util.List<ClusterRecord> getRecords()
public Cluster setRecords(java.util.List<ClusterRecord> records)
Set a list of cluster records
records - The list of cluster records to setpublic java.lang.String getTerm()
public Cluster setTerm(java.lang.String term)
Set the term for this cluster.
term - The cluster termCopyright © 2013–2016 GroupBy Inc.. All rights reserved.