Unable to create an index with parent child relationship using .net NEST

Take a look at my answer on Parent/Child relationship with NEST on 6.x.

The documentation contains test constructs to assert correct behaviour, because the documentation is generated from tests, to ensure it stays in sync with the source code.