I want to know if there is any difference in performance (for read and write) in the following scenarios
e.g Documents
{ "price" : 10, "qty" : 2 }
{ "item" : { "price" : 1, "qty" : 23 } }
I want to have an index on the “price” and “qty” field. What would be the better way to structure this document or they are exactly the same ?