-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.8.3
-
Component/s: None
Hello,
You've used an s suffix for the regex clauses and i think because of that suffix index selection and profile output is not working correctly. You can not use find() for profile collection because it gives an error message about s suffix.
var options = caseInsensitive ? "is" : "s";
When i change the above line with
var options = caseInsensitive ? "i" : "";
line, everything is going well.
But is there a reason for that "s" suffix.
- depends on
-
SERVER-4645 The shell's db.collection.find() command asserts on regexs that the shell can't execute
- Closed
- is related to
-
SERVER-9035 Regex "s" option causes mongo to use slow query plan
- Closed