You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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: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
The text was updated successfully, but these errors were encountered: