In AWS Document DB, MongoDB server version: 4.0.0, When try to use partialFilterExpression, got error:
Field 'partialFilterExpression' is currently not supported
The same command in my Mac, MongoDB server version: 4.0.3, it works.
Is there any thing to do to turn it on? Or give it up?
CodePudding user response:
Partial indexes are not supported in DocumentDB:
| Command | 3.6 | 4.0 |
|---|---|---|
| TTL | Yes | Yes |
| Unique | Yes | Yes |
| Partial | No | No |
| Case Insensitive | No | No |
| Sparse | Yes | Yes |
| Background | Yes | Yes |
