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/04 15:13:06 UTC

[GitHub] garrensmith opened a new pull request #469: Choose index based on fields match

garrensmith opened a new pull request #469: Choose index based on fields match
URL: https://github.com/apache/couchdb/pull/469
 
 
   ## Overview
   
   If two indexes can be used, then instead of choosing the index based on
   alphabet order of index names, rather choose based on a score. This
   score is calculated by determining which index has the least number of
   fields
   
   ## Testing recommendations
   
   There is a test that proves the issue and passes based on this fix.
   
   ## JIRA issue number
   
   <!-- If this is a significant change, please file a JIRA issue at:
        https://issues.apache.org/jira/browse/COUCHDB
        and include the number here and in commit message(s)  -->
   
   ## Checklist
   
   - [ ] Code is written and works correctly;
   - [ ] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   - [ ] I will not forget to update [rebar.config.script](https://github.com/apache/couchdb/blob/master/rebar.config.script)
         with the correct commit hash once this PR get merged.
   
 
----------------------------------------------------------------
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