-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Aws::CloudSearchDomain::Client limits expression size #1181
Comments
This is currently defined in the model itself, so default choices would come from that. It would be interesting to explore what it would take to allow configuration of HTTP verbs used by service calls. |
Is it possible to change the default setting and just use POST across the board? A setting somewhere? |
Added to feature request backlog. |
It looks like the java sdk implemented POST for CloudSearchDomain search requests. Would a similar implementation work for ruby? https://github.com/aws/aws-sdk-java/blob/fb1d42ee0e00dccf8a3290e04c367989ae5664fc/aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchdomain/SwitchToPostHandler.java |
Yes this is exactly what is needed. |
+1 for this feature |
Soft ping, the feature PR has been merged, and will be tagged in today's release : ) |
Great to hear |
thanks! |
An undocumented limit of CloudSearch is that expression size (shown here http://docs.aws.amazon.com/cloudsearch/latest/developerguide/limits.html) is limited by half or more of the stated limit when using GET requests.
Gem should use POST by default, or at least have it as a configurable option. Any expression more than 4500 chars or so using this gem will fail with Aws::CloudSearchDomain::Errors::RequestEntityTooLarge, when the actual limit of the service is over 10K.
The text was updated successfully, but these errors were encountered: