Query all fields in an embedded document?

aliases on indices using filters may help you.

On Mon, Nov 7, 2011 at 2:08 AM, Nick Hoffman nick@deadorange.com wrote:

Is there a way to query all of the fields in an embedded document?

For example, if you have documents that're structured like this:
{ first_name: "Bob", interests: [ {name: "dogs", level: 5}, {topic:
"dogs", degree: "strong"} ] }

Can you build a query that searches all documents in the "interests" field
whose value is "dogs"?