evsukov89 commented on issue #831: Filter _changes by key to speed up 
replication
URL: https://github.com/apache/couchdb/issues/831#issuecomment-363205174
 
 
   @nickva is theoretically possible to speed-up selectors passed in replicator 
to use indexes? I have the same issue as @redgeoff posted and rewriting my map 
functions as mango selectors. Since the map functions often time written 
somethine like:
   ```js
   function (doc) {
      if (doc.type == 'foo' && doc.safe && ...) {
         emit(...)
      } 
   }
   ```
   using partial indexes would make a lot of sense overall.

----------------------------------------------------------------
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