Arno Kaimbacher
cf859ba402
All checks were successful
CI Pipeline / japa-tests (push) Successful in 54s
- add package @opensearch-project/opensearch for manipulating opensearch index - index tethys datasets via new command IndexDatasets, callable node ace index:datasets or node ace index:datasets -p 193 - add mapping file for opensearch index in public/records.json - added solr.xslt for transforming Datset model to json for opensearch adding in opensearch - added route /editor/ dataset/:id/update (beginning of editor/DatasetController.ts - npm updates
147 lines
3.8 KiB
JSON
147 lines
3.8 KiB
JSON
{
|
|
"settings": {
|
|
"analysis": {
|
|
"analyzer": {
|
|
"pathAnalyzer": {
|
|
"tokenizer": "pathTokenizer"
|
|
}
|
|
},
|
|
"tokenizer": {
|
|
"pathTokenizer": {
|
|
"type": "path_hierarchy",
|
|
"delimiter": "/",
|
|
"replacement": "/",
|
|
"skip": 0,
|
|
"reverse": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"mappings": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"year": {
|
|
"type": "integer"
|
|
},
|
|
"year_iverted": {
|
|
"type": "double"
|
|
},
|
|
"server_date_published": {
|
|
"type": "double"
|
|
},
|
|
"server_date_modified": {
|
|
"type": "double"
|
|
},
|
|
"language": {
|
|
"type": "keyword"
|
|
},
|
|
"title": {
|
|
"type": "text"
|
|
},
|
|
"title_output": {
|
|
"type": "keyword",
|
|
"index": false
|
|
},
|
|
"abstract": {
|
|
"type": "text"
|
|
},
|
|
"abstract_output": {
|
|
"type": "keyword",
|
|
"index": false
|
|
},
|
|
"author": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"doctype": {
|
|
"type": "keyword"
|
|
},
|
|
"subjects": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"belongs_to_bibliography": {
|
|
"type": "boolean"
|
|
},
|
|
"title_additional": {
|
|
"type": "text",
|
|
"index": false,
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"abstract_additional": {
|
|
"type": "text",
|
|
"index": false,
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"licence": {
|
|
"type": "text",
|
|
"index": false,
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"creating_corporation": {
|
|
"type": "text"
|
|
},
|
|
"contributing_corporation": {
|
|
"type": "text"
|
|
},
|
|
"publisher_name": {
|
|
"type": "text"
|
|
},
|
|
"publisher_place": {
|
|
"type": "text"
|
|
},
|
|
|
|
"geo_location": {
|
|
"type": "geo_shape",
|
|
"tree": "quadtree",
|
|
"precision": "10km"
|
|
},
|
|
"bbox_xmin": {
|
|
"type": "float"
|
|
},
|
|
"bbox_xmax": {
|
|
"type": "float"
|
|
},
|
|
"bbox_ymin": {
|
|
"type": "float"
|
|
},
|
|
"bbox_ymax": {
|
|
"type": "float"
|
|
},
|
|
|
|
|
|
|
|
"status": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
}
|
|
}
|