summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-20 16:07:02 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-20 16:29:28 -0700
commit81c7293312f039f8ce3cac9a5023ab97b57e39ce (patch)
treea6caf1a95a7100cc4c691f47134b01c2669378f1 /extra
parent5868714f4176c9cb70245d5164cc9196c2314a75 (diff)
downloadfatcat-81c7293312f039f8ce3cac9a5023ab97b57e39ce.tar.gz
fatcat-81c7293312f039f8ce3cac9a5023ab97b57e39ce.zip
elastic release schema update
Diffstat (limited to 'extra')
-rw-r--r--extra/elasticsearch/release_schema.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/elasticsearch/release_schema.json b/extra/elasticsearch/release_schema.json
index c30a7b5b..ef195e1b 100644
--- a/extra/elasticsearch/release_schema.json
+++ b/extra/elasticsearch/release_schema.json
@@ -31,11 +31,13 @@
"state": { "type": "keyword" },
"revision": { "type": "keyword" },
"title": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
+ "subtitle": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
"original_title": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
"release_date": { "type": "date" },
"release_year": { "type": "integer" },
"release_type": { "type": "keyword" },
- "release_status": { "type": "keyword" },
+ "release_stage": { "type": "keyword" },
+ "withdrawn_status": { "type": "keyword" },
"language": { "type": "keyword" },
"doi": { "type": "keyword" },
"pmid": { "type": "keyword" },
@@ -45,6 +47,8 @@
"core_id": { "type": "keyword" },
"axiv_id": { "type": "keyword" },
"jstor_id": { "type": "keyword" },
+ "ark_id": { "type": "keyword" },
+ "mag_id": { "type": "keyword" },
"license": { "type": "keyword" },
"publisher": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
"container_name": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
@@ -81,6 +85,7 @@
"longtail": { "type": "alias", "path": "is_longtail_oa" },
"lang": { "type": "alias", "path": "language" },
"file_pdf_url": { "type": "alias", "path": "best_pdf_url" },
+ "release_status": { "type": "alias", "path": "release_stage" },
"is_kept": { "type": "alias", "path": "in_kbart" }
}
}