Skip to main content
Version: Latest

ClusteringConfigInput

description

Configuration input for the clustering of search results

input ClusteringConfigInput {
enabled: Boolean
memberPageSize: Int
clusterConfig: ClusterConfigInput
}

Fields

ClusteringConfigInput.enabled ● Boolean scalar graph-ql-types

Whether clustering should run for this request.

ClusteringConfigInput.memberPageSize ● Int scalar graph-ql-types

Page size for members within a single cluster.

ClusteringConfigInput.clusterConfig ● ClusterConfigInput input graph-ql-types

Cluster expansion config including cursor for pagination. This is used to fetch the next page of members for already known cluster in a follow-up call.

Member Of

search query ● searchById query