Nested objects and join

Can some one help in understanding the nested objects and join flag
mentioned in below link

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-nested-filter.html

my understanding from tests I did is that entire nested object will be
returned if root document qualifies or nested document qualifies.

Is it possible to just get the nested objected for the queries that just
qualifies nested object?

Is is possible to just get the root object for the queries that just
qualifies root object?

what is the exact use of join mentioned in above link ?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/db78fe04-f8ec-4a33-9ece-9fdb3251a35e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.