Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODE-2355 Fixed several indexing related issues #1323

Merged
merged 2 commits into from Nov 24, 2014

Conversation

hchiorean
Copy link
Member

  • 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)

Horia Chiorean added 2 commits November 21, 2014 16:13
- 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)
@rhauch
Copy link
Contributor

rhauch commented Nov 21, 2014

This looks good. I think you addressed everything we talked about yesterday.

hchiorean pushed a commit that referenced this pull request Nov 24, 2014
MODE-2355 Fixed several indexing related issues
@hchiorean hchiorean merged commit 1340d20 into ModeShape:master Nov 24, 2014
@hchiorean hchiorean deleted the MODE-2355 branch November 24, 2014 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants