Hi , Am trying to implement the custom field mapping for the fields that are created after index creation
My use case is that my document has some standard fields and custom fields Standard fields are well know during index creation Custom fields are the knows user creates after index creation So I defined document structure as follows Document { StandardField1, StandardField2, CustomFields(field name,field value) } Now am trying add field mapping for newly added field "field03" through this below API but I get the error ={"error":"MapperParsingException[No handler for type [document] declared on field [document]]","status":400} can some one help me or suggest a way to do this? PUT ....../cfm01/documenttype/_mapping { "document": { "properties": { "document": { "name": "document", "type": "document", "customFields": { "field03": { "type": "string", "store": "yes" } } } } } } -- Please update your bookmarks! We moved to https://discuss.elastic.co/ --- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/166e87ca-f343-477b-8654-be54b36a319b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.