1
0
Fork 0

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}
</spark-opts>
<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>--idPath</arg><arg>id</arg>
<arg>--cluster</arg><arg>${esCluster}</arg>
@ -76,7 +76,7 @@
--conf spark.eventLog.dir=${nameNode}${spark2EventLogDir}
</spark-opts>
<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>--idPath</arg><arg>identifier</arg>
<arg>--cluster</arg><arg>${esCluster}</arg>

View File

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