The cluster clause is required in every query statement. Use it to specify the cluster to search, and optionally narrow the query to specific partitions within that cluster.
Syntax
Specify a cluster
cluster=<clusterName>Replace <clusterName> with the name of the cluster to search. If omitted, the default value general is used.
Example
cluster=generalSpecify partitions
Use partition querying to limit the search scope to data owned by specific key values — for example, to query only the data of certain sellers.
cluster=<clusterName>:hash_field=<value1>,<value2>...hash_field is a fixed parameter name. The values you provide must be included in the partition key field defined when the cluster index was created.
Example
The following clause queries the general cluster for sellers with IDs 123 and 456, where the partition key is the seller ID field:
cluster=general:hash_field=123,456