Nevermind! I mixed it up. Apologies.

-----Original Message-----
From: Jiang, Maggie 
Sent: Friday, March 09, 2018 5:33 PM
To: user@couchdb.apache.org; 'Joan Touzet'
Subject: RE: Updating default limit in /db/_find

Hi Joan,

I just tried to turn this setting on and tested it but it still only returns 25?

Thanks,

Maggie

-----Original Message-----
From: Joan Touzet [mailto:woh...@apache.org] 
Sent: Thursday, March 08, 2018 12:21 PM
To: user@couchdb.apache.org
Subject: Re: Updating default limit in /db/_find

Yes!

In your local.ini file, or in a local.d/*.ini file, add the following:

[mango]
default_limit = 100

Or whatever you want your limit to be.

Be sure you're pre-building indices in Mango first for best performance!

-Joan

----- Original Message -----
From: "Maggie Jiang" <maggie.ji...@tdameritrade.com>
To: user@couchdb.apache.org
Sent: Thursday, 8 March, 2018 11:57:54 AM
Subject: Updating default limit in /db/_find

Hello,

I was having issues with CouchDB not returning all objects and realized that 
the default limit is 25 when using the find option 
(https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.couchdb.org_en_2.1.1_api_database_find.html&d=DwICaQ&c=nulvIAQnC0yOOjC0e0NVa8TOcyq9jNhjZ156R-JJU10&r=NRwPGDrZo7L6ztGDn5UDKmqnTC5BQkZuuScVw4Hm9u4&m=kxz6TogX1xnLLwOj0N6FoTvI9koptbo3PawY7BgpNb4&s=hjVU29wrl7iJk_sWpAnzVZGGWoeaIZEsS4yUlHqmvhM&e=).
 Is there a way to set that to much higher as opposed to having to set the 
"limit" value every time?

Thanks,

Maggie

Reply via email to