garrensmith commented on issue #612: the sort do not work when I use $regex , 
$ne or $not any one in selector 
URL: https://github.com/apache/couchdb/issues/612#issuecomment-311340717
 
 
   @hongzhongfang Its not possible to sort the results when there is just 
in-memory filtering. Sorting would require CouchDB to load the entire result 
set into memory and then sort it. This will lead to performance issues and out 
of memory issues on a large cluster. 
   
   For your query you need to add another field in your query that will use the 
"on-disk index"  and will then also be sorted.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to