Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mannualy compact views document didn't correspond to the real operation #4219

Closed
guanfeix opened this issue Mar 17, 2022 · 0 comments · Fixed by #4517
Closed

Mannualy compact views document didn't correspond to the real operation #4219

guanfeix opened this issue Mar 17, 2022 · 0 comments · Fixed by #4517

Comments

@guanfeix
Copy link

guanfeix commented Mar 17, 2022

Mannualy compact views document didn't correspond to the real operation

But the description in document real puzzle me,why designname refer to dbname/viewname in operation,I recommend you add one detailed example on document,It will real kindful for CouchDB newbee

It conflict with the viewfunction description here.
图片
In viewfunction:
GET /{db}/_design/{ddoc}/_view/{view}
ddoc – Design document name
curl -H "Content-Type: application/json" -X POST http:https://localhost:5984/dbname/_compact/dbname/viewname works for me

In compation:
POST /{db}/_compact/{ddoc}
designname refer to dbname/viewname

curl -H "Content-Type: application/json" -X POST http:https://localhost:5984/dbname/_compact/designname
curl -H "Content-Type: application/json" -X POST http:https://localhost:5984/dbname/_compact/dbname/viewname

图片

图片

@big-r81 big-r81 transferred this issue from apache/couchdb-documentation Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants