Antonio-Maranhao opened a new pull request #1155: [partitioned dbs] Support 
partitioned mango queries and creating partitioned indexes
URL: https://github.com/apache/couchdb-fauxton/pull/1155
 
 
   ## Overview
   
   Sixth in a series of PRs that will be submitted in support of the new 
user-defined partitioned databases feature (apache/couchdb#1605).
   
   Summary:
   
    - Show results for partitioned mango queries
    - Create partitioned indexes
   
   ## Testing recommendations
   
   On a partitioned database: 
   - Go to **Run A Query with Mango**
     - Verify the Partition Selector is displayed at the top
   - Click on **Run Query**
     - Verify all docs that match are returned
   - Set a partition key
     - Verify the results are updated with only those that match the key
   - Click on **Explain**
     - Verify the results include the selected partition under `"opts"`
   
   - Click on **manage indexes**
     - Verify the **partitioned** checkbox is displayed and it is checked
   - Click on **Create Index**
     - Verify the results include the new index, and the index code includes 
`"design_opts": { "partitioned": true }`
   - Uncheck the **partitioned** checkbox and click on **Create Index**
     - Verify the results include the new index, and the index code includes 
`"design_opts": { "partitioned": false }`
   - Add `partitioned: true` to the index code in the editor, make sure the 
checkbox is unchecked, then click on **Create Index** 
     - Verify the results include the new index, and the index code includes 
`"design_opts": { "partitioned": true }` - which means the value in the editor 
takes precedence over the checkbox.
   
   ## Related Pull Requests
   
   apache/couchdb#1605
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [x] Changes are covered by tests;
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to