(Enhanced version only)
Displays or changes clustering parameters for the active thread.
sp_text_cluster server_name, cluster_parameter [, cluster_value]
– is the name of the Full-Text Search engine.
– is the name of the clustering parameter. Values are shown in Table A-2.
– is the value you assign to the clustering parameter for the active thread. Values are shown in Table A-2.
Values for cluster_parameter |
Values for cluster_value |
---|---|
cluster_style |
Specifies the type of clustering to use. Valid values are:
|
cluster_max |
Specifies the maximum number of clusters to generate when cluster_style is set to fixed. A value of 0 means that the search engine determines the number of clusters to generate. |
cluster_effort |
Specifies the amount of effort (time) that the search engine should expend on finding a good clustering. Valid values are:
|
cluster_order |
Specifies the order in which to return the rows within the clusters. Valid values are:
|
sp_text_cluster KRAZYKAT, cluster_order, "1"
Changes the cluster_order parameter to 1 for the active thread.
sp_text_cluster KRAZYKAT, cluster_style
Displays the current value of the cluster_style parameter.
The Verity clustering algorithm attempts to group similar rows together, based on the values of the clustering parameters.
If the cluster_parameter parameter is specified, but the cluster_value parameter is omitted, sp_text_cluster displays the value of the clustering parameter that is specified.
sp_text_cluster does not modify the value of the clustering configuration parameter. The cluster_value is valid only for the thread that is currently executing. To modify the default values, use the sp_text_configure system procedure.
For information on how to request a clustered result set, see “Using Pseudo Columns to Request Clustered Result Sets”.
This procedure is not supported against remote server ’server_name’
The parameter value ‘value’ is invalid
sp_text_cluster failed (status = status)
Any user can execute sp_text_cluster.