Starting a Resumable Query
Each resumable query starts in this phase. Using our SDKs or the REST API, you can initiate a resumable query. The filter or flags to include vector values, metadata, or data will be valid for the entire duration of the resumable query. When you start the query, the server responds with the first batch of the most similar vectors and a handle that uniquely identifies the query so that you can continue the query where you left off.- Python
- JavaScript
- Go
- curl
Resuming the Resumable Query
Using the handle returned by the initial call to resumable query, you can get the next batch of the most similar vectors, starting from the last response. You can fetch as many next batch as possible until you iterate over the entire index.- Python
- JavaScript
- Go
- curl
Stopping the Resumable Query
Each resumable query requires us to maintain a state in the server. So, there is a limit for the maximum number of active resumable queries at a time. That’s why it is important to stop the resumable query once you are done with it. Resumable queries can be stopped using the handle returned with the initial call.- Python
- JavaScript
- Go
- curl
- Python
- JavaScript
- Go
- curl