Is it possible to get a document by its identifier without specifying a section key?
My understanding of reading documentation is that the request will be deployed across all sections if the section key is not specified:
In the next query there is no filter on the partition key (DeviceId) and is deployed to all partitions where it runs against the partition index. Note that you must specify EnableCrossPartitionQuery (x-ms-documentdb-query-enablecrosspartition in the REST API) for the SDK to execute the query through the partitions .
This makes sense with non-key properties, but given the identifier, it is handled specially, I hope that I will not need to allow cross-sectional requests for it.
If I need to enable cross-sectional queries, will it be an expensive operation?
source share