nickva commented on issue #831: Filter _changes by key to speed up replication URL: https://github.com/apache/couchdb/issues/831#issuecomment-331277881 Maybe another option is to use a Mango based selector as described here: https://blog.couchdb.org/2016/08/15/feature-replication/comment-page-1/ (see A New Way to Filter section). Then each replication document would specify a selector to pick from a specific class only. By default the basic view based filtering doesn't end up using the view data and just re-uses the map function in the most naive way. There is a feature which allows using the view. It was implemented here: https://github.com/apache/couchdb-couch-mrview/pull/2 I think it involves added these options to the view `"options": {"seq_indexed": true, "keyseq_indexed": true}}`. But have never used it and not sure how it works. ---------------------------------------------------------------- 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
