Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Done
-
None
-
None
-
ALL
Description
> db.a.drop()
|
true
|
> db.a.insert({a: 'apple banana'})
|
> db.a.insert({a: 'apple apple apple apple'})
|
> db.a.ensureIndex({a: 'text'})
|
> db.a.ensureIndex({a: 'text'})
|
{
|
"err" : "Trying to create an index with same name a_text with different key spec { a: \"text\" } vs existing spec { _fts: \"text\", _ftsx: 1 }",
|
"code" : 16850,
|
"n" : 0,
|
"connectionId" : 1,
|
"ok" : 1
|
}
|
Attachments
Issue Links
- is duplicated by
-
SERVER-12699 Running the same createIndexes command twice with a text index, produces an odd error
-
- Closed
-
- related to
-
SERVER-12980 Background fields are not ignored when comparing index spec equality
-
- Closed
-