Add support for queries in /{db}/_all_docs POST#1032
Merged
wohali merged 1 commit intoapache:masterfrom Jan 18, 2018
Merged
Conversation
789bb2d to
fe16e0c
Compare
e776453 to
0e849e8
Compare
Member
|
Thanks!!! +1 once you resolve the conflict. :) |
b254060 to
7aec581
Compare
Contributor
Author
7aec581 to
d1fa4b4
Compare
Contributor
Author
|
I already rebased again. @wohali or any other committer, can you help merge it to master branch? Thanks |
Member
|
Done! Feel free to do the documentation too if you have time :) Thank you again. |
Contributor
Author
|
Thanks wohali. Will update document later. |
2 tasks
Contributor
Author
|
@wohali Hey Joan, documentation update PR is apache/couchdb-documentation#241. |
3 tasks
This was referenced Feb 6, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Allow to POST to /{db}/_all_docs and specify a queries list in the body, the same way you can do with a regular MapReduce view, like
multiple_queries.json looks like
This also can work against /{db}/_design_docs and /{db}/_local_docs endpoints.
Testing recommendations
make check skip_deps+=couch_epi apps=chttpd tests=all_test_
Related Issues or Pull Requests
issue #820
Checklist