summaryrefslogtreecommitdiffstats
path: root/extra/elasticsearch/release_schema.json
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-24 15:17:25 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-24 15:17:25 -0800
commit24ab203a00354f768fc48e0786b21de4afcd9c4a (patch)
tree7c5305dafc110fb58e0ab323ba8b58c1f61914ba /extra/elasticsearch/release_schema.json
parentd7a4e4649e1da2c02ec8472173c79f7c708ce19b (diff)
downloadfatcat-24ab203a00354f768fc48e0786b21de4afcd9c4a.tar.gz
fatcat-24ab203a00354f768fc48e0786b21de4afcd9c4a.zip
implement release_year (and rustfmt)
Diffstat (limited to 'extra/elasticsearch/release_schema.json')
-rw-r--r--extra/elasticsearch/release_schema.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/elasticsearch/release_schema.json b/extra/elasticsearch/release_schema.json
index 25478b1b..c9b77301 100644
--- a/extra/elasticsearch/release_schema.json
+++ b/extra/elasticsearch/release_schema.json
@@ -33,10 +33,12 @@
"author": { "type": "alias", "path": "contrib_names" },
"journal": { "type": "alias", "path": "container_name" },
"date": { "type": "alias", "path": "release_date" },
+ "year": { "type": "alias", "path": "release_year" },
"issn": { "type": "alias", "path": "container_issnl" },
"oa": { "type": "alias", "path": "container_is_oa" },
"longtail": { "type": "alias", "path": "container_is_longtail_oa" },
"release_date": { "type": "date" },
+ "release_year": { "type": "integer" },
"release_type": { "type": "keyword" },
"release_status": { "type": "keyword" },
"language": { "type": "keyword" },