Commit f7e9bc17 authored by Carina Antunes's avatar Carina Antunes
Browse files

mappings fix

parent 0641f370
......@@ -4,7 +4,7 @@
"index.mapping.total_fields.limit": 100
},
"mappings": {
"archive_v0.0.1": {
"archive_v1.0.0": {
"dynamic": "strict",
"numeric_detection": true,
"properties": {
......@@ -57,24 +57,36 @@
"french": {
"type": "text",
"analyzer": "french"
},
"exact_match": {
"type": "keyword"
},
"whitespace": {
"type": "text",
"analyzer": "whitespace"
}
}
}
}
},
"group": {
"type": "keyword",
"enabled": false
},
"date": {
"type": "date",
"format": "dd-MM-yyyy HH:mm"
},
"$schema": {
"enabled": false
},
"control_number": {
"type": "keyword"
},
"$schema": {
"enabled": false
"_created": {
"type": "date"
},
"_updated": {
"type": "date"
}
}
}
......
{
"settings": {
"index.percolator.map_unmapped_fields_as_string": true,
"index.percolator.map_unmapped_fields_as_text": true,
"index.mapping.total_fields.limit": 100
},
"mappings": {
"dynamic": "strict",
"numeric_detection": true,
"properties": {
"_access": {
"type": "object",
"properties": {
"owner": {
"type": "keyword"
},
"read": {
"type": "keyword"
},
"update": {
"type": "keyword"
},
"delete": {
"type": "keyword"
"dynamic": "strict",
"numeric_detection": true,
"properties": {
"_access": {
"type": "object",
"properties": {
"owner": {
"type": "keyword"
},
"read": {
"type": "keyword"
},
"update": {
"type": "keyword"
},
"delete": {
"type": "keyword"
}
}
}
},
"_data": {
"type": "object",
"properties": {
"body": {
"type": "text",
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
"french": {
"type": "text",
"analyzer": "french"
},
"_data": {
"type": "object",
"properties": {
"body": {
"type": "text",
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
"french": {
"type": "text",
"analyzer": "french"
}
}
}
},
"from": {
"type": "keyword"
},
"attachments": {
"type": "keyword"
},
"subject": {
"type": "text",
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
"french": {
"type": "text",
"analyzer": "french"
},
"from": {
"type": "keyword"
},
"attachments": {
"type": "keyword"
},
"subject": {
"type": "text",
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
"french": {
"type": "text",
"analyzer": "french"
},
"exact_match": {
"type": "keyword"
},
"whitespace": {
"type": "text",
"analyzer": "whitespace"
}
}
}
}
},
"group": {
"enabled": false
},
"date": {
"type": "date",
"format": "dd-MM-yyyy HH:mm"
},
"$schema": {
"enabled": false
},
"control_number": {
"type": "keyword"
},
"_created": {
"type": "date"
},
"_updated": {
"type": "date"
}
},
"group": {
"type": "keyword",
"enabled": false
},
"date": {
"type": "date",
"format": "dd-MM-yyyy HH:mm"
},
"control_number": {
"type": "keyword"
},
"$schema": {
"enabled": false
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment