ModeShape/modeshape — pull request #1323 by hchiorean (2014-11-21 14:14:41+00:00)
Title: MODE-2355 Fixed several indexing related issues

- when constraint contains the OR operator and index should apply only if it applies to all the parts of the constraint
- the (cost * cardinality) formula should always be used when deciding which indexes to use
- when determining the node-type criteria for the index selection, always use only the less-specific node type (i.e. super-type)