diff --git a/dnet-ariadneplus/src/main/resources/es/schemaAriadneplusElasticsearch.curl b/dnet-ariadneplus/src/main/resources/es/schemaAriadneplusElasticsearch.curl index 1721fba..99a0e05 100644 --- a/dnet-ariadneplus/src/main/resources/es/schemaAriadneplusElasticsearch.curl +++ b/dnet-ariadneplus/src/main/resources/es/schemaAriadneplusElasticsearch.curl @@ -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": { "dynamic": false, @@ -307,7 +307,14 @@ curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus?pretty" } }, "title": { - "type": "text" + "properties": { + "text": { + "type": "text" + }, + "language": { + "type": "text" + } + } }, "wasCreated": { "type": "date",