Reindex to version 6 and lost nested type

Hello !! last week I did reindex, from version 2 to version 6 and when I compare the new mapping with the old I find some diferences, the most important the no nested type. It's everything ok ? thanks !!!

The old mapping :

"analysis": {
                        "type": "nested",
                        "properties": {
                            "id": {
                                "type": "string",
                                "index": "not_analyzed"
                            },
                            "panel": {
                                "type": "string"
                            },
                            "pipeline": {
                                "type": "string"
                            },
                            "project": {
                                "type": "string"
                            },
                            "sample": {
                                "type": "nested",
                                "properties": {
                                    "affectedRegion": {
                                        "type": "nested",
                                        "properties": {
                                            "alternative": {
                                                "type": "string"
                                            },
                                            "chromosome": {
                                                "type": "string"
                                            },
                                            "id": {
                                                "type": "string",
                                                "index": "not_analyzed"
                                            },
                                            "position": {
                                                "type": "double"
                                            },
                                            "reference": {
                                                "type": "string"
                                            }
                                        }
                                    }

The new mapping :

"analysis": {
                        "properties": {
                            "id": {
                                "type": "text",
                                "fields": {
                                    "keyword": {
                                        "type": "keyword",
                                        "ignore_above": 256
                                    }
                                }
                            },
                            "panel": {
                                "type": "text",
                                "fields": {
                                    "keyword": {
                                        "type": "keyword",
                                        "ignore_above": 256
                                    }
                                }
                            },
                            "pipeline": {
                                "type": "text",
                                "fields": {
                                    "keyword": {
                                        "type": "keyword",
                                        "ignore_above": 256
                                    }
                                }
                            },
                            "project": {
                                "type": "text",
                                "fields": {
                                    "keyword": {
                                        "type": "keyword",
                                        "ignore_above": 256
                                    }
                                }
                            },
                            "sample": {
                                "properties": {
                                    "affected_region": {
                                        "properties": {
                                            "id": {
                                                "type": "text",
                                                "fields": {
                                                    "keyword": {
                                                        "type": "keyword",
                                                        "ignore_above": 256
                                                    }
                                                }
                                            }
                                        }
                                    }

Why I lost all nested ?? Can I add the nested option now ? Thanks !!!!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.