MongoDB地理索引无法在生产服务器上运行

时间:2018-06-16 05:25:15

标签: mongodb ubuntu

刚刚转到生产Ubuntu实例,我得到了:

 planner returned error: unable to find index for $geoNear query, name=MongoError, ok=0, errmsg=error processing query: ns=esper.usersTree: $and
gender $eq "female"
profileSetup $eq true
age $lt 25
age $gt 21
$not
    _id $eq ObjectId('5b248a699dc80c04b112a289')
GEONEAR  field=location maxdist=10000 isNearSphere=0

但是,索引已配置:

enter image description here

尝试重启MongoDB。是否需要运行某种缓存或命令来配置索引?

0 个答案:

没有答案