Details
-
Task
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
0.1
Description
RE: https://docs.mongodb.com/manual/core/index-text/#compound-index
Additional restriction should appear under "compound index":
- When creating a compound index, all "text" fields must be adjacent.
Example of the error one gets otherwise:
>db.text.createIndex({a:"text",b:1,c:"text"}) |
{
|
"ok" : 0, |
"errmsg" : "'text' fields in index must all be adjacent", |
"code" : 67, |
"codeName" : "CannotCreateIndex" |
}
|
Also, there is a self-link in this sentence:
See also Text Index and Sort for additional limitations.
Attachments
Issue Links
- related to
-
CSHARP-1917 MongoMembershipProvider throwing 'CommandException in CreateIndexes' when calling Membership.Providers["MongoMembershipProvide"]
-
- Closed
-