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 2022/10/17 09:48:34 UTC
[GitHub] [couchdb] guanfeix opened a new issue, #4219: Mannualy compact views document didn't correspond to the real operation
guanfeix opened a new issue, #4219:
URL: https://github.com/apache/couchdb/issues/4219
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.
![图片](https://user-images.githubusercontent.com/34960209/158720592-53d7efbd-2e63-4ef5-a7bc-cad102aaa1cd.png)
In viewfunction:
GET /{db}/_design/{ddoc}/_view/{view}
ddoc – Design document name
curl -H "Content-Type: application/json" -X POST http://localhost:5984/dbname/_compact/dbname/viewname works for me
In compation:
POST /{db}/_compact/{ddoc}[¶](https://docs.couchdb.org/en/stable/api/database/compact.html#post--db-_compact-ddoc)
designname refer to dbname/viewname
curl -H "Content-Type: application/json" -X POST http://localhost:5984/dbname/_compact/designname
curl -H "Content-Type: application/json" -X POST http://localhost:5984/dbname/_compact/dbname/viewname
![图片](https://user-images.githubusercontent.com/34960209/158503383-942a69a8-36d4-46de-b829-aa5a200b0f46.png)
![图片](https://user-images.githubusercontent.com/34960209/158502174-deadb4bc-fb04-4465-bf74-87775b7711c0.png)
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] nickva closed issue #4219: Mannualy compact views document didn't correspond to the real operation
Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva closed issue #4219: Mannualy compact views document didn't correspond to the real operation
URL: https://github.com/apache/couchdb/issues/4219
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org