-
Notifications
You must be signed in to change notification settings - Fork 2
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
Clearmash: how to call Document/Folder/Get when there are too many items in the folder? #43
Comments
Hi, |
Ok, which API would you suggest we use? |
Using this API you can create a primitive\naive crawling mechanism, but that means that you will need to go over all the documents all the time. i'm not sure this is efficient solution. |
that's exactly what we want - get all the documents, that's the best solution for us it already works, and we have all the systems in place to support this on our end |
BH manage ~5M logical items and ~30M relations in ClearMash. In this approach, you will load, transfer over the web and reindex all of them all the time. |
I agree that it will be faster & efficient to have a sync, but right now, we need the API /Document/Folder/Get to work |
As I said, the Folder API is not the right API since it does not intend to support such a use case. |
ok, thanks, can you provide documentation about the limitations of the API? |
also, the documentation for Queries API does not provide details about how to use it.. all the parameters are undocumented, making it impossible to use I opened an issue regarding that problem: #52 |
opened an issue for future improvement to support syncing only newly updated items: #53 |
Even though this approach is not recommended we have extended the Folder API timeout to allow you to request folders with many items. |
thanks @omrisuissa - can you estimate what's the limit on number of items you can return in this way? |
@OriHoch , yes. |
reproduction
/Document/Folder/Get
for a folder with many itemsexpected
actual
The text was updated successfully, but these errors were encountered: