Limit length of retrived attribute / Streaming API? #5539
Unanswered
underflow00
asked this question in
Q&A
Replies: 1 comment 10 replies
-
Hey @underflow00, Thank you! |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a use case where I need to search and retrieve an attribute that may be a very large text. But this would use too much memory (e.g. 10,000 documents * 1 MB) . Is there way to limit the length of the returned value (e.g. first X bytes/characters), or a way to stream the results so that it can be processed one at a time?
I see there is a cropLength option that does something similar.
Beta Was this translation helpful? Give feedback.
All reactions