Closed imack closed 7 years ago
The :limit
parameter is respected, but the #query
method is returning an enumerable object which will automatically paginate - in essence, it is respecting your limit per request, but making additional requests.
The collection type is documented here.
One option is to also limit the number of items you take from the response - depends on your use case. The class doesn't currently expose the underlying response object.
@awood45 gotcha; thanks for such a prompt reply; will construct statue in your honour when I rule the world.
I'm having some trouble limiting the results of a query on an index. I keep trying to impose a limit of 50 but I still get all the results that match the index query. Is Limit supported? or am I missing something?
Where
Post
includesAws::Record
.