|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.2.2.0) E35072-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.search.query.webservice.wssclient.ClusterConfig
public class ClusterConfig
ClusterConfig represents the configuration settings of a cluster.
| Constructor Summary | |
|---|---|
ClusterConfig() |
|
| Method Summary | |
|---|---|
List |
getClusterAttributes()Return the attribute list used for clustering. |
String |
getClusterFormat()Returns the format of the cluster. |
String |
getClusterName()Returns the name of the cluster. |
String |
getClusterType()Returns the type of the cluster. |
List |
getConfigProperties()Returns the config properties used for clustering. |
void |
setClusterFormat(String value)Sets the format of the cluster. |
void |
setClusterName(String value)Sets the name of the cluster. |
void |
setClusterType(String value)Sets the type of the cluster. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClusterConfig()
| Method Detail |
|---|
public List getClusterAttributes()
ClusterAttributepublic String getClusterFormat()
public void setClusterFormat(String value)
value - "json" or "xml"public String getClusterName()
public void setClusterName(String value)
value - name of the clusterpublic String getClusterType()
public void setClusterType(String value)
value - 'topic' or 'metadata'public List getConfigProperties()
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the configProperties property.
For example, to add a new item, do as follows:
getConfigProperties().add(newItem);
Supported properties are: maxTreeDepth - - maximum level of cluster node hierarchy. Default is 4 minDocumentsPerNode - - minimum number of documents within one node. Default is 3 maxChildrenPerNode - - maximum number of nodes on each level. Default is 50 The following parameters are only applicable to topic clustering maxPhraseLength - - maximum number of words for each phrase to extract. Default is 6 maxNumPhraseToExtract - - maximum number of multi-word phrase to extract. Default is 5 maxNumSingleWordToExtract - - maximum number of one-word phrase to extract. Default is 10 minSingleWordOccurrence - - minimum one-word phrase frequency to extract. Default is 3 minPhraseOccurrence - - minimum multi-word phrase frequency to extract. Default is 2Property
|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.2.2.0) E35072-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||