We could set a configurable (server-side) limit that defaults to 10, this is 
what ElasticSearch uses as a default.

cheers,
  Serge… 

> On 25 avr. 2016, at 13:51, Thomas Draier <[email protected]> wrote:
> 
> Hi,
> 
> I just noticed that when doing a query through the rest api, if no limit
> was specified in the json query, default was to return no result .. I
> created a ticket for that : https://issues.apache.org/jira/browse/UNOMI-26 .
> Do you think we should use -1 (no limit) or hardcode a specific limit to
> avoid too big result sets ?
> 
> Thomas

Reply via email to