Basic queries are read-only queries that return records to the client. A client application makes an API request to start a read-only query. This request in turn initiates parallel requests to each node in the cluster. The result returns the current version of each record to the client.
Query policies, can be passed on a per request basis. Policy values can be set to create a Filter Expression, determine whether bin data is included with the response, identify a short versus long query, and more.
The concept of short and long queries was introduced in Server 6.0. Refer to Differences Between Short and Long Queries for more information.
The following example creates a new query policy that defines a Filter Expression that compares the length of the
shape list in the
report map and returns
true if greater than
📄️ PI Queries
Basic Primary Index Queries
📄️ SI Queries
Basic Secondary Index Queries