You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/02/23 10:27:38 UTC
[GitHub] [couchdb] android-programmer opened a new issue #3379: Return map reduce response in /{db}/_changes
android-programmer opened a new issue #3379:
URL: https://github.com/apache/couchdb/issues/3379
[NOTE]: # ( ^^ Provide a general summary of the request in the title above. ^^ )
## Summary
It would be nice to return map reduce response along with `_id` when calling `GET /{db}/_changes`. Currently we need to get the `id` first and query the view `/{db}/_design/{ddoc}/_view/{view}` so there are 2 round trips API call. By setting query parameters `/{db}/_changes?map=true` or `/{db}/_changes?reduce=true`, there is only 1 API call.
[NOTE]: # ( Provide a brief overview of what the new feature is all about. )
## Desired Behaviour
#### For map response only:
`GET /{db}/_changes?map=true`
#### For reduce response only:
`GET /{db}/_changes?reduce=true`
`map` and `reduce` default value is `false`
[NOTE]: # ( Tell us how the new feature should work. Be specific. )
[TIP]: # ( Do NOT give us access or passwords to your actual CouchDB! )
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] wohali commented on issue #3379: Return map reduce response in /{db}/_changes
Posted by GitBox <gi...@apache.org>.
wohali commented on issue #3379:
URL: https://github.com/apache/couchdb/issues/3379#issuecomment-784433125
This isn't likely to happen, the _changes feed has nothing to do with map-reduce.
Attempts to filter _changes feeds via views failed for a number of reasons, and the work was abandonned prior to 1.x.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] wohali closed issue #3379: Return map reduce response in /{db}/_changes
Posted by GitBox <gi...@apache.org>.
wohali closed issue #3379:
URL: https://github.com/apache/couchdb/issues/3379
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org