regex - MongoDB avoid using the index -


my scenario same 1 described here:

mongodb regular expression indexed field

to summarise, when using index $regex query returns 700ms slower when not use index. unfortunately cannot use simple prefix queries optimise against index.

i can't drop index because required queries not involve regex.

is possible bypass index , mongodb scan table directly?


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

R - Plot: How to format in 10-base scientific notation and put it text, mtex, title etc functions? -

validation - How to pass paramaters like unix into windows batch file -