range
method allows you to retrieve vectors from the index within a specified range. The function accepts the following parameters:
cursor
: A cursor to start the range query.limit
: The maximum number of vectors to retrieve in a single query.include_vectors
: A boolean flag indicating whether to include vectors in the query results.include_metadata
: A boolean flag indicating whether to include metadata in the query results.next_cursor
: A cursor indicating the position to start the next range query. If ""
, there are no more results.vectors
: A list containing information for each vector, including id
, vector
, and metadata
.