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 '
|
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": {
|
"mappings": {
|
||||||
"dynamic": false,
|
"dynamic": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -9,6 +19,7 @@ curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus_test?pre
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"fields": {
|
"fields": {
|
||||||
"raw": {
|
"raw": {
|
||||||
|
"normalizer":"useLowercase",
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -129,6 +140,7 @@ curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus_test?pre
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"fields": {
|
"fields": {
|
||||||
"raw": {
|
"raw": {
|
||||||
|
"normalizer":"useLowercase",
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -278,6 +290,7 @@ curl -X PUT "http://elastic-test.ariadne.d4science.org:9200/ariadneplus_test?pre
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"fields": {
|
"fields": {
|
||||||
"raw": {
|
"raw": {
|
||||||
|
"normalizer":"useLowercase",
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue