Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase DocumentLimitsConfig.maxArrayLength from 100 to 1000 #745

Closed
tatu-at-datastax opened this issue Dec 20, 2023 · 0 comments · Fixed by #770
Closed

Increase DocumentLimitsConfig.maxArrayLength from 100 to 1000 #745

tatu-at-datastax opened this issue Dec 20, 2023 · 0 comments · Fixed by #770
Assignees
Milestone

Comments

@tatu-at-datastax
Copy link
Contributor

tatu-at-datastax commented Dec 20, 2023

Currently maximum length of any individual array to 100 elements: this specified by maxArrayLength of DocumentLimitsConfig.

(NOTE: there is a special setting $vector, limited via maxVectorEmbeddingLength to 10,000 ; not governed by above setting)

This is rather low a limit, and some use cases are already hitting this limit. Since there is no specific reason not to allow somewhat bigger values (one can work around limit by using "arrays of arrays", and/or split things via sub-Documents), we should raise the limit: either modestly (to 200) or more aggressively (1,000).

@tatu-at-datastax tatu-at-datastax self-assigned this Dec 20, 2023
@tatu-at-datastax tatu-at-datastax changed the title Increase DocumentLimitsConfig.maxArrayLength from 100 to 1000 Increase DocumentLimitsConfig.maxArrayLength from 100 to higher value Dec 20, 2023
@tatu-at-datastax tatu-at-datastax added this to the 1.0.0-BETA-7 milestone Jan 4, 2024
@tatu-at-datastax tatu-at-datastax changed the title Increase DocumentLimitsConfig.maxArrayLength from 100 to higher value Increase DocumentLimitsConfig.maxArrayLength from 100 to 1000 Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment