|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.1.0.0) E17597-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.search.query.webservice.client.ClusterConfig
public class ClusterConfig
ClusterConfig represents the configuration settings of a cluster.
| Constructor Summary | |
|---|---|
ClusterConfig() |
|
ClusterConfig(String clusterName, String clusterType, String clusterFormat)Creates a ClusterConfig. |
|
| Method Summary | |
|---|---|
ClusterAttribute[] |
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. |
Property[] |
getConfigProperties()Returns the config properties used for clustering. |
String |
getConfigValue(String paramName)Returns the configuration value of the specified parameter. |
void |
setClusterAttributes(ClusterAttribute[] clusterAttributes)Set the attribute list used for clustering |
void |
setClusterFormat(String clusterFormat)Set the format of the cluster. |
void |
setClusterName(String clusterName)Sets the name of the cluster. |
void |
setClusterType(String clusterType)Sets the type of the cluster. |
void |
setConfigProperties(Property[] configProperties)Sets the configuration properties used for clustering. |
void |
setConfigValue(String paramName, String paramValue)Sets the configuration value of the specified parameter. |
String |
toString()Returns the values of the configuration. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClusterConfig()
public ClusterConfig(String clusterName,
String clusterType,
String clusterFormat)
clusterName - name of the cluster attributeclusterType - type of the cluster attributeclusterFormat - cluster output format| Method Detail |
|---|
public String getClusterName()
public void setClusterName(String clusterName)
clusterName - the name of the cluster treepublic String getClusterType()
public void setClusterType(String clusterType)
clusterType - the type of the cluster treepublic String getClusterFormat()
public void setClusterFormat(String clusterFormat)
clusterFormat - the output format of the cluster treepublic ClusterAttribute[] getClusterAttributes()
public void setClusterAttributes(ClusterAttribute[] clusterAttributes)
clusterAttributes - the array of the cluster attributespublic Property[] getConfigProperties()
public void setConfigProperties(Property[] configProperties)
public String getConfigValue(String paramName)
maxTreeDepth - - maximum level of cluster node hierarchy.minDocumentsPerNode - - minimum number of documents within one node.maxChildrenPerNode - - maximum number of nodes on each level. The following parameters are only applicable to topic clusteringmaxPhraseLength - - maximum number of words for each phrase to extract.maxNumPhraseToExtract - - maximum number of multi-word phrase to extract.maxNumSingleWordToExtract - - maximum number of one-word phrase to extract.minSingleWordOccurrence - - minimum one-word phrase frequency to extract.minPhraseOccurrence - - minimum multi-word phrase frequency to extract.paramName - the configuration parameter name
public void setConfigValue(String paramName,
String paramValue)
maxTreeDepth - - maximum level of cluster node hierarchy. Default is 4minDocumentsPerNode - - minimum number of documents within one node. Default is 3maxChildrenPerNode - - maximum number of nodes on each level. Default is 50 The following parameters are only applicable to topic clusteringmaxPhraseLength - - maximum number of words for each phrase to extract. Default is 6maxNumPhraseToExtract - - maximum number of multi-word phrase to extract. Default is 5maxNumSingleWordToExtract - - maximum number of one-word phrase to extract. Default is 10minSingleWordOccurrence - - minimum one-word phrase frequency to extract. Default is 3minPhraseOccurrence - - minimum multi-word phrase frequency to extract. Default is 2paramName - the configuration parameter nameparamValue - the configuration parameter valuepublic String toString()
toString in class Object
|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.1.0.0) E17597-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||