推荐工具
› RoboMongo
推荐书目
› 50 Tips and Tricks for MongoDB Developers
Related Blogs
› Snail in a Turtleneck
sheaven
V2EX  ›  MongoDB

关于 2dsphere 索引的疑问

  •  
  •   sheaven · May 21, 2014 · 5960 views
    This topic created in 4510 days ago, the information mentioned may be changed or developed.
    为什么创建了2dsphere索引后查询就没有索引了呢,cursor是莫名其妙的 S2Cursor这是什么意思
    删除了2dsphere索引后速度就暴快索引也用到了
    1 replies  •  2014-05-22 22:13:21 +08:00
    sheaven
        1
    sheaven  
    OP
       May 22, 2014
    今天把mongodb升级到了2.6.1没想到竟然解决了
    竟然2dsphere索引用不上是2.4.1的bug
    升级后啥也没干立刻建索引测试
    终于用上索引了
    "cursor" : "BtreeCursor _ugps_"了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2635 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 02:25 · PVG 10:25 · LAX 19:25 · JFK 22:25
    ♥ Do have faith in what you're doing.