If I run this find query:
db.data.findOne({G:/^[W]/})
I get a full index scan being performed.
explained as :
"indexBounds" : {
"G" : [
"[\"\", {})",
"[/^[W]/, /^[W]/]"
],
If I run this find query:
db.data.findOne({G:/^[W]/})
I get a full index scan being performed.
explained as :
"indexBounds" : {
"G" : [
"[\"\", {})",
"[/^[W]/, /^[W]/]"
],