You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/04/05 07:49:10 UTC

[GitHub] tonysun83 commented on issue #469: Choose index based on fields match

tonysun83 commented on issue #469: Choose index based on fields match
URL: https://github.com/apache/couchdb/pull/469#issuecomment-291782010
 
 
   Paul hit the nail for the gist of this, so the only thing I'm going to add is that for the tests, we should probably use the _explain endpoint and make sure we're choosing the right. So
   
   1) Create a bunch of indexes with various columns lengths. 
   
   2) Create selectors that use various combinations of fields
   
   3) Execute those queries but with _explain, and ensure that the correct index with the right prefix was used by checking the index name.
   
   
   
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services