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: [email protected]
With regards, Apache Git Services
