收藏
回答

有哪位大佬遇到过嘛,这个报错?

WAService.js:1 Uncaught (in promise) Error: errCode: -502001 database request fail | errMsg: [FailedOperation.Query] (BadValue) error processing query: ns=tnt-19pjzalw2.users limit=20Tree: $and

    isLocation $eq true

    GEONEAR  field=location maxdist=5000 isNearSphere=0 hintScan=9223372036854775807 hintCorrectNum=9223372036854775807

Sort: {}

Proj: { latitude: 1, longitude: 1, userPhoto: 1 }

 planner returned error: unable to find index for $geoNear query

    at new u (WAService.js:1)

    at Function.success (WAService.js:1)

    at Object.success (WAService.js:1)

    at b (WAService.js:1)

    at g (WAService.js:1)

    at WAService.js:1

    at VM16 asdebug.js:1

回答关注问题邀请回答
收藏
登录 后发表内容
问题标签