Timeline for How to change mongodb index name
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 25, 2012 at 4:52 | vote | accept | user4951 | ||
| Sep 7, 2012 at 8:28 | comment | added | user4951 | That is fine. However, variable names usually must not contain -1. That's the issue. Indexes are like variable names right? | |
| Sep 6, 2012 at 7:24 | answer | added | Sammaye | timeline score: 2 | |
| Sep 6, 2012 at 4:44 | comment | added | user4951 | Read the question again > ).hint("LongitudeLatitude_indexContents_1_Prominent_-1").limit(50).explain(); Thu Sep 06 11:01:51 uncaught exception: error: { "$err" : "bad hint", "code" : 1 0113 } How do I solve that? | |
| Sep 6, 2012 at 4:22 | comment | added | user2665694 | Take your finger off the index names. The are for very good reasons generated automatically. | |
| Sep 6, 2012 at 4:06 | answer | added | Thilo | timeline score: 1 | |
| Sep 6, 2012 at 4:03 | comment | added | Thilo | Why is the name a problem? The MongoDB docs state that the option to assign names to indexes will be removed in the future (leaving only the auto-generated default names), so you may have to rethink this. | |
| Sep 6, 2012 at 3:59 | history | asked | user4951 | CC BY-SA 3.0 |