Commit 64915d4c authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Update mapping templates

parent 1a9ee661
......@@ -86,6 +86,9 @@
"id": {
"type": "keyword"
},
"isPublished": {
"type": "boolean"
},
"keyVisualLink": {
"type": "keyword"
},
......
{
"index_patterns": [
"record-sets*"
],
"settings": {
"number_of_replicas": 1,
"number_of_shards": 3
},
"mappings": {
"date_detection": false,
"dynamic_templates": [
{
"filter_as_keyword": {
"path_match": "*.filter",
"mapping": {
"type": "keyword"
}
}
},
{
"facet_as_keyword": {
"path_match": "*.facet",
"mapping": {
"type": "keyword"
}
}
},
{
"german_fields": {
"path_match": "*.de",
"mapping": {
"type": "text",
"fields": {
"filter": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
{
"french_fields": {
"path_match": "*.fr",
"mapping": {
"type": "text",
"fields": {
"filter": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
{
"italian_fields": {
"path_match": "*.it",
"mapping": {
"type": "text",
"fields": {
"filter": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
{
"unknown_language_fields": {
"path_match": "*.un",
"mapping": {
"type": "text",
"fields": {
"filter": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
],
"properties": {
"id": {
"type": "keyword"
},
"published": {
"type": "boolean"
},
"supportedByMemoriav": {
"type": "boolean"
},
"periodOfTimeAsYear": {
"type": "long",
"ignore_malformed": true
}
}
}
}
\ No newline at end of file
Supports Markdown
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