0

I have 70k documents. I create a new index. Call explain("executionStats") with newindex field in match condition shows following:

enter image description here

Or it may take some time? But it was created 8 h ago. Can I somehow check progress of indexing?

1 Answers1

0

Are you using $elemMatch? If so, documentdb will default to a collscan: https://docs.aws.amazon.com/documentdb/latest/developerguide/functional-differences.html#functional-differences.indexes

  • Index support for $elemMatch was added in DocumentDB 5.0 - https://docs.aws.amazon.com/documentdb/latest/developerguide/release-notes.html#release-notes.3.1.2023 – Mihai A Mar 14 '23 at 16:39