Defaults to 10 seems good. I'll add that to org.apache.unomi.persistence.elasticsearch.cfg file. thanks thomas
On Mon, Apr 25, 2016 at 3:40 PM Serge Huber <shu...@jahia.com> wrote: > 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 <tdra...@jahia.com> 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 > >