updated index mapping to include orcid

This commit is contained in:
Sandro La Bruzzo 2023-04-13 10:51:10 +02:00
parent 1bbf408a08
commit 2984e8e59f
2 changed files with 9 additions and 5 deletions

View File

@ -50,7 +50,7 @@
--conf spark.eventLog.dir=${nameNode}${spark2EventLogDir} --conf spark.eventLog.dir=${nameNode}${spark2EventLogDir}
</spark-opts> </spark-opts>
<arg>--master</arg><arg>yarn</arg> <arg>--master</arg><arg>yarn</arg>
<arg>--sourcePath</arg><arg>${sourcePath}/summaries_json</arg> <arg>--sourcePath</arg><arg>${sourcePath}/index/summaries_json</arg>
<arg>--index</arg><arg>${index}_object</arg> <arg>--index</arg><arg>${index}_object</arg>
<arg>--idPath</arg><arg>id</arg> <arg>--idPath</arg><arg>id</arg>
<arg>--cluster</arg><arg>${esCluster}</arg> <arg>--cluster</arg><arg>${esCluster}</arg>
@ -76,7 +76,7 @@
--conf spark.eventLog.dir=${nameNode}${spark2EventLogDir} --conf spark.eventLog.dir=${nameNode}${spark2EventLogDir}
</spark-opts> </spark-opts>
<arg>--master</arg><arg>yarn</arg> <arg>--master</arg><arg>yarn</arg>
<arg>--sourcePath</arg><arg>${sourcePath}/scholix_json</arg> <arg>--sourcePath</arg><arg>${sourcePath}/index/scholix_json</arg>
<arg>--index</arg><arg>${index}_scholix</arg> <arg>--index</arg><arg>${index}_scholix</arg>
<arg>--idPath</arg><arg>identifier</arg> <arg>--idPath</arg><arg>identifier</arg>
<arg>--cluster</arg><arg>${esCluster}</arg> <arg>--cluster</arg><arg>${esCluster}</arg>

View File

@ -11,9 +11,13 @@
} }
}, },
"author": { "author": {
"type": "text", "type": "nested",
"fields": { "properties": {
"keyword": { "fullname": {
"type": "keyword",
"ignore_above": 256
},
"orcid": {
"type": "keyword", "type": "keyword",
"ignore_above": 256 "ignore_above": 256
} }