aboutsummaryrefslogtreecommitdiffstats
path: root/extra/elasticsearch
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-10-12 20:02:16 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-10-13 16:21:30 -0700
commitaeedc23706cd66ae2e753a0ad5603a66049e757c (patch)
tree46a344b4e4f942a884f5d5757e1a9e7e4deb4039 /extra/elasticsearch
parent647a2bce5ea4f87892ce5f025e9d10115734cf6f (diff)
downloadfatcat-aeedc23706cd66ae2e753a0ad5603a66049e757c.tar.gz
fatcat-aeedc23706cd66ae2e753a0ad5603a66049e757c.zip
elasticsearch schema changes
Diffstat (limited to 'extra/elasticsearch')
-rw-r--r--extra/elasticsearch/container_schema.json5
-rw-r--r--extra/elasticsearch/release_schema.json11
2 files changed, 13 insertions, 3 deletions
diff --git a/extra/elasticsearch/container_schema.json b/extra/elasticsearch/container_schema.json
index 9673e9e3..05aa0b35 100644
--- a/extra/elasticsearch/container_schema.json
+++ b/extra/elasticsearch/container_schema.json
@@ -52,6 +52,7 @@
"aliases": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": "biblio" },
"publisher_type": { "type": "keyword", "normalizer": "default" },
"container_type": { "type": "keyword", "normalizer": "default" },
+ "publication_status": { "type": "keyword", "normalizer": "default" },
"issnl": { "type": "keyword", "normalizer": "default" },
"issns": { "type": "keyword", "normalizer": "default" },
"wikidata_qid": { "type": "keyword", "normalizer": "default" },
@@ -82,6 +83,7 @@
"preservation_dark": { "type": "integer" },
"preservation_shadows_only":{ "type": "integer" },
"preservation_none": { "type": "integer" },
+ "tags": { "type": "keyword", "normalizer": "default" },
"year": { "type": "alias", "path": "first_year" },
"type": { "type": "alias", "path": "container_type" },
@@ -89,7 +91,8 @@
"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" }
+ "longtail": { "type": "alias", "path": "is_longtail_oa" },
+ "tag": { "type": "alias", "path": "tags" }
}
}
}
diff --git a/extra/elasticsearch/release_schema.json b/extra/elasticsearch/release_schema.json
index ef668bc9..9dae9312 100644
--- a/extra/elasticsearch/release_schema.json
+++ b/extra/elasticsearch/release_schema.json
@@ -77,13 +77,17 @@
"s2_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
"dblp_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
"doaj_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
+ "hdl": { "type": "keyword", "normalizer": "default", "doc_values": false },
"license": { "type": "keyword", "normalizer": "default" },
+ "version": { "type": "keyword", "normalizer": "default", "copy_to": "biblio" },
"publisher": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
"publisher_type": { "type": "keyword", "normalizer": "default" },
"container_name": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": "biblio" },
"container_id": { "type": "keyword", "normalizer": "default" },
+ "container_issns": { "type": "keyword", "normalizer": "default" },
"container_issnl": { "type": "keyword", "normalizer": "default" },
"container_type": { "type": "keyword", "normalizer": "default" },
+ "container_publication_status": { "type": "keyword", "normalizer": "default" },
"discipline": { "type": "keyword", "normalizer": "default" },
"contrib_count": { "type": "integer" },
"contrib_names": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": "biblio" },
@@ -117,7 +121,9 @@
"in_shadows": { "type": "boolean" },
"is_superceded": { "type": "boolean" },
"is_retracted": { "type": "boolean" },
+ "is_work_alias": { "type": "boolean" },
"preservation": { "type": "keyword", "normalizer": "default" },
+ "tags": { "type": "keyword", "normalizer": "default" },
"affiliation": { "type": "alias", "path": "affiliations" },
"ror": { "type": "alias", "path": "affiliation_rors" },
@@ -127,7 +133,7 @@
"journal": { "type": "alias", "path": "container_name" },
"date": { "type": "alias", "path": "release_date" },
"year": { "type": "alias", "path": "release_year" },
- "issn": { "type": "alias", "path": "container_issnl" },
+ "issn": { "type": "alias", "path": "container_issn" },
"oa": { "type": "alias", "path": "is_oa" },
"longtail": { "type": "alias", "path": "is_longtail_oa" },
"lang": { "type": "alias", "path": "language" },
@@ -136,7 +142,8 @@
"stage": { "type": "alias", "path": "release_stage" },
"type": { "type": "alias", "path": "release_type" },
"retracted": { "type": "alias", "path": "is_retracted" },
- "is_kept": { "type": "alias", "path": "in_kbart" }
+ "is_kept": { "type": "alias", "path": "in_kbart" },
+ "tag": { "type": "alias", "path": "tags" }
}
}
}