changed title structure from field to object for multiple language handling
This commit is contained in:
parent
0f7e7de918
commit
e9430ab460
|
@ -1,4 +1,4 @@
|
||||||
curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus?pretty" -H 'Content-Type: application/json' -d '
|
curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus_test?pretty" -H 'Content-Type: application/json' -d '
|
||||||
{
|
{
|
||||||
"mappings": {
|
"mappings": {
|
||||||
"dynamic": false,
|
"dynamic": false,
|
||||||
|
@ -307,7 +307,14 @@ curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus?pretty"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"type": "text"
|
"properties": {
|
||||||
|
"text": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"language": {
|
||||||
|
"type": "text"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"wasCreated": {
|
"wasCreated": {
|
||||||
"type": "date",
|
"type": "date",
|
||||||
|
|
Loading…
Reference in New Issue