Skip to content

[ERROR] - "less than 16,384" #1016

@rubenvarela

Description

@rubenvarela

Note: This repository is ONLY used to solve issues related to DOCS.
For other issues, please move to other repositories.

Where is the error
What is the URL/path of the document related to this issue?

First found from this instance,

- **limit** (*int*) -
The total number of entities to return.
You can use this parameter in combination with **offset** in **param** to enable pagination.
The sum of this value and **offset** in **param** should be less than 16,384.

Specifically, L59.

Looks to be present in other places,

https://github.com/search?q=repo%3Amilvus-io%2Fweb-content+%22less+than+16%2C384%22&type=code

The sum can be up to 16,384.

This is valid,

results = client.query(
    collection_name="",
    output_fields=fields,
    filter="",
    limit=16_384,
    offset=0
)

and this is valid,

results = client.query(
    collection_name="",
    output_fields=fields,
    filter="",
    limit=16_383,
    offset=1
)

How would you like to improve it

The sum of this value and offset in param should be less than 16,384.

  • "The sum of this value and offset in param should be less than or equal to 16,384."
  • "The sum of this value and offset in param can be up to 16,384."

Screenshots
If applicable, add screenshots to help explain your problem.

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions