Commit 4eec0f83 authored by Noel Alonso's avatar Noel Alonso
Browse files

Amplía mapping para búsquedas

parent 688f1b89
Loading
Loading
Loading
Loading
+93 −34
Original line number Diff line number Diff line
@@ -188,7 +188,13 @@
									"type": "long"
								},
								"uuid": {
  								"type": "keyword"
									"type": "text",
									"fields": {
										"keyword": {
											"type": "keyword",
											"ignore_above": 256
										}
									}
								},
								"name": {
									"type": "keyword",
@@ -219,6 +225,59 @@
									}
								}
							}
						},
						"note": {
							"type": "text",
							"fields": {
								"keyword": {
									"type": "keyword",
									"ignore_above": 256
								}
							}
						},
						"observationType": {
							"properties": {
								"id": {
									"type": "long"
								},
								"name": {
									"type": "keyword",
									"fields": {
										"suggest": {
											"type": "text",
											"analyzer": "autocomplete",
											"search_analyzer": "lower_analyzer"
										}
									}
								},
								"name_en": {
									"type": "keyword",
									"fields": {
										"suggest": {
											"type": "text",
											"analyzer": "autocomplete",
											"search_analyzer": "lower_analyzer"
										}
									}
								}
							}
						},
						"taxonomy": {
							"properties": {
								"id": {
									"type": "long"
								},
								"scientificName": {
									"type": "keyword",
									"fields": {
										"suggest": {
											"type": "text",
											"analyzer": "autocomplete",
											"search_analyzer": "lower_analyzer"
										}
									}
								}
							}
						}
					}
				}