{{cookiecutter.project_slug}}/docs/elasticsearch/mappings/WfBlogPost.json
changeset 10 7351bfe5a572
parent 3 ed80ac5fcbbf
child 13 af09246db39d
equal deleted inserted replaced
9:388e62eec460 10:7351bfe5a572
     1 {
     1 {
     2 	"WfBlogPost": {
     2 	"WfBlogPost": {
     3 		"properties": {
     3 		"properties": {
       
     4 			"internal_id": {
       
     5 				"type": "keyword"
       
     6 			},
       
     7 			"content_type": {
       
     8 				"type": "keyword"
       
     9 			},
     4 			"title": {
    10 			"title": {
     5 				"type": "object",
    11 				"type": "object",
     6 				"properties": {
    12 				"properties": {
     7 					"en": {
    13 					"en": {
     8 						"type": "string"
    14 						"type": "string"
    51 						"analyzer": "french",
    57 						"analyzer": "french",
    52 						"search_analyzer": "french_search"
    58 						"search_analyzer": "french_search"
    53 					}
    59 					}
    54 				}
    60 				}
    55 			},
    61 			},
       
    62 			"keywords": {
       
    63 				"type": "keyword"
       
    64 			},
    56 			"workflow": {
    65 			"workflow": {
    57 				"type": "object",
    66 				"type": "object",
    58 				"properties": {
    67 				"properties": {
    59 					"name": {
    68 					"name": {
    60 						"type": "string"
    69 						"type": "keyword"
    61 					},
    70 					},
    62 					"date": {
    71 					"date": {
    63 						"type": "date"
    72 						"type": "date"
    64 					},
    73 					},
    65 					"status": {
    74 					"status": {
    66 						"type": "keyword"
    75 						"type": "keyword"
       
    76 					},
       
    77 					"created_date": {
       
    78 						"type": "date"
       
    79 					},
       
    80 					"modified_date": {
       
    81 						"type": "date"
       
    82 					},
       
    83 					"publication_date": {
       
    84 						"type": "date"
       
    85 					},
       
    86 					"first_publication_date": {
       
    87 						"type": "date"
    67 					}
    88 					}
    68 				}
    89 				}
    69 			},
    90 			},
    70 			"extfile": {
    91 			"extfile": {
    71 				"type": "object",
    92 				"type": "object",
   130 				}
   151 				}
   131 			},
   152 			},
   132 			"location": {
   153 			"location": {
   133 				"type": "object",
   154 				"type": "object",
   134 				"properties": {
   155 				"properties": {
       
   156 					"city": {
       
   157 						"type": "string"
       
   158 					},
   135 					"coords": {
   159 					"coords": {
   136 						"type": "geo_point"
   160 						"type": "geo_point"
       
   161 					},
       
   162 					"countries": {
       
   163 						"type": "keyword"
       
   164 					},
       
   165 					"departments": {
       
   166 						"type": "keyword"
       
   167 					},
       
   168 					"forests": {
       
   169 						"type": "keyword"
       
   170 					},
       
   171 					"postal_code": {
       
   172 						"type": "keyword"
       
   173 					},
       
   174 					"structures": {
       
   175 						"type": "keyword"
       
   176 					}
       
   177 				}
       
   178 			},
       
   179 			"hearing": {
       
   180 				"type": "object",
       
   181 				"properties": {
       
   182 					"targets": {
       
   183 						"type": "keyword"
       
   184 					},
       
   185 					"source_site": {
       
   186 						"type": "keyword"
       
   187 					},
       
   188 					"diffusion_sites": {
       
   189 						"type": "keyword"
   137 					}
   190 					}
   138 				}
   191 				}
   139 			},
   192 			},
   140 			"themes": {
   193 			"themes": {
   141 				"type": "object"
   194 				"type": "object",
       
   195 				"properties": {
       
   196 					"terms": {
       
   197 						"type": "keyword"
       
   198 					},
       
   199 					"synonyms": {
       
   200 						"type": "keyword"
       
   201 					},
       
   202 					"parents": {
       
   203 						"type": "keyword"
       
   204 					},
       
   205 					"associations": {
       
   206 						"type": "keyword"
       
   207 					}
       
   208 				}
   142 			}
   209 			}
   143 		}
   210 		}
   144 	}
   211 	}
   145 }
   212 }