Commit 579b1d28 authored by Pablo Panero's avatar Pablo Panero
Browse files

jsonschemas/mappings[webservices]: add new refiners and remove extras

parent 6a44810c
......@@ -56,25 +56,12 @@
"type": "string",
"description": "Website content"
},
"extras": {
"authors": {
"type": "array",
"description": "Attachments and followed links present in the website",
"description": "Authors of the site",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Linked website name or title"
},
"url": {
"type": "string",
"description": "Linked website full path website URL"
},
"content": {
"type": "string",
"description": "Linked website content"
}
}
"type": "string",
"description": "Author name"
}
}
}
......@@ -91,6 +78,9 @@
"collection": {
"type": "string"
},
"type_format": {
"type": "string"
},
"image_source": {
"type": "string"
},
......
......@@ -103,40 +103,12 @@
}
}
},
"extras": {
"type": "object",
"properties": {
"name": {
"type": "keyword",
"fields": {
"french": {
"type": "text",
"analyzer": "french"
},
"english": {
"type": "text",
"analyzer": "english"
}
}
},
"url": {
"type": "keyword",
"fields": {
"full_text": {
"type": "text",
"analyzer": "url_analyzer"
}
}
},
"content": {
"type": "text",
"analyzer": "english",
"fields": {
"french": {
"type": "text",
"analyzer": "french"
}
}
"authors": {
"type": "keyword",
"eager_global_ordinals": true,
"fields": {
"full_text": {
"type": "text"
}
}
}
......@@ -153,6 +125,10 @@
"type": "keyword",
"eager_global_ordinals": true
},
"type_format": {
"type": "keyword",
"eager_global_ordinals": true
},
"image_source": {
"enabled": false
},
......
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