...
Code Block | ||||
---|---|---|---|---|
| ||||
'custom_indices' => { 'nodes' => [ [ {'configuration.device_ci' => 1}, { unique => 1, partialFilterExpression => { "configuration.device_ci" => { '$exists' => true } } }] ] } |
2)After the addition of custom indices, please run ensure indexes to add custom index.
...