Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Index performance problem #6

Closed
tomaash opened this Issue · 8 comments

3 participants

@tomaash

If you use "." in path, which is then processed with regex, the "." character is interpreted as "any character" and the regex is no longer left-anchored
(http://docs.mongodb.org/manual/reference/operator/regex/)
, which renders the index unusable, and queries for collections with more than 100k documents are very slow. Replacing path separator with "#" solves this problem. See my fix: tomaash@f424f48

@franck34

:+1:

Hope brian will wake up one day .. ;)

@franck34

Perhaps you can pull request ?

@franck34
@tomaash

It's already in pull request to your repo. For now, I assume that this repository (briankircho) is no longer maintained. If there is no more activity in following months, we can register your version on mongoose-plugins as well :)

@franck34
@briankircho briankircho closed this issue from a commit
@briankircho Fix #6 10acb97
@briankircho
Owner

I went ahead and fixed this in the original tree plugin here, sorry it took so long

@tomaash

Great, it's good to see this merged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.