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

[1.2] Deprecate requireIndexes and stuff thereto related #1477

Merged
merged 1 commit into from
Aug 5, 2016

Conversation

malarzm
Copy link
Member

@malarzm malarzm commented Jul 30, 2016

As promised, follow up to #1476. Right now the feature is more broken than working thus giving developer false sense of security. To name few things that are wrong:

  1. Compound index order is not respected
  2. Index intersection added in Mongo 2.6 is not considered
  3. $or clauses can use own indexes and that's not considered

I even took a stab at some of things listed above in #812 - it reached +1.2k and still was wrong. In my opinion all this adds unnecessary complexity and things to maintain, especially if Mongo would again introduce some new index-related feature making simple true/false switch not enough.

@malarzm malarzm added the Task label Jul 30, 2016
@malarzm malarzm added this to the 1.2 milestone Jul 30, 2016
@alcaeus
Copy link
Member

alcaeus commented Jul 31, 2016

Absolutely agree on this one 👍

@malarzm malarzm merged commit b4a4947 into doctrine:master Aug 5, 2016
@malarzm malarzm deleted the deprecate-require-indexes branch August 5, 2016 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants