| Steps To Reproduce: |
MongoDB Enterprise > db.createCollection("timeseries", {timeseries: {timeField: "t"}})
|
MongoDB Enterprise > db.timeseries.createIndex({x: "2dsphere"})
|
MongoDB Enterprise > db.timeseries.getIndexes()
|
[
|
{
|
"v" : 2,
|
"key" : {
|
"x" : "2dsphere"
|
},
|
"name" : "x_2dsphere"
|
}
|
]
|
MongoDB Enterprise > db.system.buckets.timeseries.getIndexes()
|
[
|
{
|
"v" : 2,
|
"key" : {
|
"data.x" : "2dsphere_bucket"
|
},
|
"name" : "x_2dsphere",
|
"2dsphereIndexVersion" : 3,
|
"originalSpec" : {
|
"key" : {
|
"x" : "2dsphere"
|
},
|
"name" : "x_2dsphere",
|
"v" : 2
|
}
|
}
|
]
|
MongoDB Enterprise > db.nontimeseries.createIndex({x: "2dsphere"})
|
MongoDB Enterprise > db.nontimeseries.getIndexes()
|
[
|
{
|
"v" : 2,
|
"key" : {
|
"_id" : 1
|
},
|
"name" : "_id_"
|
},
|
{
|
"v" : 2,
|
"key" : {
|
"x" : "2dsphere"
|
},
|
"name" : "x_2dsphere",
|
"2dsphereIndexVersion" : 3
|
}
|
]
|
MongoDB Enterprise >
|
|