Commit ebb97709 authored by Pablo Panero's avatar Pablo Panero
Browse files

Refactor: jsonschema and mapping package to allow different folders for different users

parent 28bbf6ba
{
"settings": {
"index.percolator.map_unmapped_fields_as_string": true,
"index.mapping.total_fields.limit": 30
"index.mapping.total_fields.limit": 35
},
"mappings": {
"attachments_v1.0.0": {
......@@ -48,37 +48,29 @@
},
"filename": {
"type": "text",
"fields": [
{
"english": {
"type": "text",
"analyzer": "english"
}
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
{
"french": {
"type": "text",
"analyzer": "french"
}
"french": {
"type": "text",
"analyzer": "french"
}
]
}
},
"content": {
"type": "text",
"fields": [
{
"english": {
"type": "text",
"analyzer": "english"
}
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
{
"french": {
"type": "text",
"analyzer": "french"
}
"french": {
"type": "text",
"analyzer": "french"
}
]
}
},
"custom_pid": {
"type": "keyword"
......
{
"settings": {
"index.percolator.map_unmapped_fields_as_string": true,
"index.mapping.total_fields.limit": 30
"index.mapping.total_fields.limit": 50
},
"mappings": {
"contributions_v1.0.0": {
......@@ -53,37 +53,29 @@
},
"title": {
"type": "text",
"fields": [
{
"english": {
"type": "text",
"analyzer": "english"
}
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
{
"french": {
"type": "text",
"analyzer": "french"
}
"french": {
"type": "text",
"analyzer": "french"
}
]
}
},
"description": {
"type": "text",
"fields": [
{
"english": {
"type": "text",
"analyzer": "english"
}
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
{
"french": {
"type": "text",
"analyzer": "french"
}
"french": {
"type": "text",
"analyzer": "french"
}
]
}
},
"list_of_persons": {
"type": "nested",
......
{
"settings": {
"index.percolator.map_unmapped_fields_as_string": true,
"index.mapping.total_fields.limit": 30
"index.mapping.total_fields.limit": 50
},
"mappings": {
"events_v1.0.0": {
......@@ -53,37 +53,29 @@
},
"title": {
"type": "text",
"fields": [
{
"english": {
"type": "text",
"analyzer": "english"
}
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
{
"french": {
"type": "text",
"analyzer": "french"
}
"french": {
"type": "text",
"analyzer": "french"
}
]
}
},
"description": {
"type": "text",
"fields": [
{
"english": {
"type": "text",
"analyzer": "english"
}
"fields": {
"english": {
"type": "text",
"analyzer": "english"
},
{
"french": {
"type": "text",
"analyzer": "french"
}
"french": {
"type": "text",
"analyzer": "french"
}
]
}
},
"speakers_chairs": {
"type": "nested",
......
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