I have documents one is dependent to other. first:
{
\"doctype\": \"closed_auctions\",
\"seller\": {
\"person\": \"person11304\"
},
\"buyer\":
Well, first off, let me point out that the very first sentence of the documentation section that you referenced says (I added the emphasis):
Joins between data, even when the documents being examined are contained within the same bucket, are not possible directly within the view system.
So, the quick answer to your question is that you have lots of options. Here are a few of them:
The last approach was used in the example you linked to in your question. For performance, it will be necessary to tailor the approach to your usage scenario.