added lowercase function for derivedSubject.prefLabe, nativeSubject.prefLabel
This commit is contained in:
parent
e9430ab460
commit
788fc3b734
|
@ -1,5 +1,15 @@
|
|||
curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus_test?pretty" -H 'Content-Type: application/json' -d '
|
||||
{
|
||||
"settings": {
|
||||
"analysis": {
|
||||
"normalizer": {
|
||||
"useLowercase": {
|
||||
"type": "custom",
|
||||
"filter": [ "lowercase" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mappings": {
|
||||
"dynamic": false,
|
||||
"properties": {
|
||||
|
@ -9,6 +19,7 @@ curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus_test?pre
|
|||
"type": "text",
|
||||
"fields": {
|
||||
"raw": {
|
||||
"normalizer":"useLowercase",
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
|
@ -129,6 +140,7 @@ curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus_test?pre
|
|||
"type": "text",
|
||||
"fields": {
|
||||
"raw": {
|
||||
"normalizer":"useLowercase",
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
|
@ -278,6 +290,7 @@ curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus_test?pre
|
|||
"type": "text",
|
||||
"fields": {
|
||||
"raw": {
|
||||
"normalizer":"useLowercase",
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue