summaryrefslogtreecommitdiffstats
path: root/extra/elasticsearch/container_schema.json
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2021-04-08 00:22:33 +0000
committerbnewbold <bnewbold@archive.org>2021-04-08 00:22:33 +0000
commit97280d0a20baa00aa1f8dbd3bec62142ad2ce900 (patch)
tree9320c75d5c19148aba7cd3a0ced0fc200988e6ba /extra/elasticsearch/container_schema.json
parent0b9fc884dad8e3147d10c273725157ba60f48069 (diff)
parent9f110393b90d5b9e95a39b4f83d3e864434dd189 (diff)
downloadfatcat-97280d0a20baa00aa1f8dbd3bec62142ad2ce900.tar.gz
fatcat-97280d0a20baa00aa1f8dbd3bec62142ad2ce900.zip
Merge branch 'bnewbold-es-index-updates' into 'master'
fatcat elasticsearch schema updates See merge request webgroup/fatcat!101
Diffstat (limited to 'extra/elasticsearch/container_schema.json')
-rw-r--r--extra/elasticsearch/container_schema.json18
1 files changed, 10 insertions, 8 deletions
diff --git a/extra/elasticsearch/container_schema.json b/extra/elasticsearch/container_schema.json
index 1960984d..9673e9e3 100644
--- a/extra/elasticsearch/container_schema.json
+++ b/extra/elasticsearch/container_schema.json
@@ -41,6 +41,7 @@
"mappings": {
"_doc": {
"properties": {
+ "doc_index_ts": { "type": "date" },
"ident": { "type": "keyword", "normalizer": "default", "doc_values": false },
"state": { "type": "keyword", "normalizer": "default" },
"revision": { "type": "keyword", "normalizer": "default", "doc_values": false },
@@ -54,6 +55,7 @@
"issnl": { "type": "keyword", "normalizer": "default" },
"issns": { "type": "keyword", "normalizer": "default" },
"wikidata_qid": { "type": "keyword", "normalizer": "default" },
+ "dblp_prefix": { "type": "keyword", "normalizer": "default" },
"country_code": { "type": "keyword", "normalizer": "default" },
"region": { "type": "keyword", "normalizer": "default" },
"discipline": { "type": "keyword", "normalizer": "default" },
@@ -73,19 +75,19 @@
"any_jstor": { "type": "boolean" },
"any_ia_sim": { "type": "boolean" },
"sherpa_romeo_color": { "type": "keyword", "normalizer": "default" },
+ "keepers": { "type": "keyword", "normalizer": "default" },
- "releases_total": { "type": "integer" },
- "releases_kbart": { "type": "integer" },
- "releases_ia": { "type": "integer" },
- "releases_ia_sim": { "type": "integer" },
- "releases_shadows": { "type": "integer" },
- "releases_any_file": { "type": "integer" },
- "releases_any_fileset": { "type": "integer" },
- "releases_any_webcapture": { "type": "integer" },
+ "releases_total": { "type": "integer" },
+ "preservation_bright": { "type": "integer" },
+ "preservation_dark": { "type": "integer" },
+ "preservation_shadows_only":{ "type": "integer" },
+ "preservation_none": { "type": "integer" },
"year": { "type": "alias", "path": "first_year" },
"type": { "type": "alias", "path": "container_type" },
"issn": { "type": "alias", "path": "issns" },
+ "release_count": { "type": "alias", "path": "releases_total" },
+ "releases_count": { "type": "alias", "path": "releases_total" },
"oa": { "type": "alias", "path": "is_oa" },
"longtail": { "type": "alias", "path": "is_longtail_oa" }
}