Can mongodb search for any content in multi-level nested subdocuments?

  mongodb, question

For example, can you search for keys or values in n-level nesting

Can do, as long as you can locate the location of the array containing subdocuments, you can search for what you want, can see my answer before:

If it does not meet your requirements, you can describe your problem in detail, such as what kind of data structure you imagine and what kind of search you want to do.