mongodb 查询时没有索引报错(too much data for sort() with no index)

报错信息:

.... too much data for sort() with no index....

给对应排序字段加索引就OK 了...

在对应"表"名上,右键-->AddIndex:

posted @ 2014-04-28 15:07  RY一步一个脚印  阅读(671)  评论(0)    收藏  举报