public override PutMappingDescriptor <Child> BuildMapping(PutMappingDescriptor <Child> map) { return(base.BuildMapping(map .SetParent <Parent>() .Properties(p => p .String(c => c.Name(f => f.ParentId).Index(FieldIndexOption.NotAnalyzed)) ))); }