Hi there,

I was looking into speeding up queries to the database. I found under
https://docs.couchdb.org/en/stable/api/ddoc/views.html#db-design-design-doc-view-view-name
that I can disable sorting of results with sorted=false. I wonder what happens 
if I combine that with the startkey/endkey parameters.

What I understood from 
https://docs.couchdb.org/en/stable/api/ddoc/views.html#api-ddoc-view-sorting
sorting is applied before filtering. I assume the result is undetermined, it 
might include some docs that are between start and endkey but not all or none, 
so its not wise to combine sorted=false with any filters. Is this correct?

Thanks for any insights.

Cheers
Thilo

--
more time for your coworkers: https://cobot.me

Reply via email to