-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fetch >1000 documents with a POST query #233
Comments
From @newgene
|
P.S. GET queries can use The python |
right, my interest is whether it is possible and desirable to generically implement the |
Hi @andrewsu, technically it's possible to implement in the SDK |
"from" and "size" might already be supported on the query POST endpoint:
|
(Quick comment, I haven't read this thread yet) Replying to @namespacestd0 and @erikyao I think @tokebe said this was a bit hard to implement because it wasn't clear how many records total to go through (if using from to "scroll" through. |
Thanks @namespacestd0! You reminded me this feature you added for #108. So, on BTE side, we need to add the support for this. If helps, we can also increase the max |
Just a point of clarity on my comment @colleenXu referenced, it's not so much that it would be difficult as much as BTE would be sending wasteful requests if it doesn't know from the first response how many times it should be paging/how many records there are, as it would have to keep paging until it receives nothing back. |
@tokebe @colleenXu I am pretty sure we can figure out a way to pass this number to BTE. |
Decision 06/15: output the total number of documents in a special field |
Related: #49 |
closing as complete per discussion at https://suwulab.slack.com/archives/CC19LHAF2/p1664553072489639 |
Originally from @colleenXu:
The text was updated successfully, but these errors were encountered: