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

regex queries are not working properly #1214

ismetozalp opened this issue Oct 12, 2016 · 2 comments

regex queries are not working properly #1214

ismetozalp opened this issue Oct 12, 2016 · 2 comments


Copy link

@ismetozalp ismetozalp commented Oct 12, 2016

reqex queries seems to have problem,
let there be logs collection and a document like this in it.

"_id" : ObjectId("56cac81e0a975a255f2f1bd8"),
"a" : "ac",
"l" : "I",
"t" : ISODate("2016-02-22T08:34:38.488Z"),
"r" : "7062064496895063770",
"i" : "",
"e" : "",
"n" : "",
"c" : "RequestFilter",
"f" : "doFilter",
"m" : "[REQUEST START] $"

db.getCollection('logs').find({m: /}); this query returns no result in robomongo 0.9.0

but when i connect to server with "mongo" and run the same query i got results.

db.getCollection('logs').find({m: /app3/});

this works in robomongo seems to be there is problem with the dots.


Copy link

@juliashibalko juliashibalko commented Oct 13, 2016

Hi @ismetozalp, thank you for reporting! I try to replicate issue, but it works fine for me. So we will continue investigation.
But if you have rather large collection let me suggest you to check workaround described here #1106 (comment). In short you can increase value of shellTimeoutSec in config file and then run query again. Please let me know if it works for you!

Copy link

@ismetozalp ismetozalp commented Oct 14, 2016

Hi Julia,
After increasing the timeout everything seems fine thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.