aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-25 16:42:48 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-25 16:42:48 -0800
commit1079aea4a5ea8f22353caf7c74070b6e830498bf (patch)
treec7270ade9771abdd5a57af8f1cc87d56e2622d4b
parent7d55f030cadbdc213e0773a52ad52ccfbfa07cad (diff)
downloadfatcat-1079aea4a5ea8f22353caf7c74070b6e830498bf.tar.gz
fatcat-1079aea4a5ea8f22353caf7c74070b6e830498bf.zip
tweak elastic schemas (again)
-rw-r--r--extra/elasticsearch/container_schema.json8
-rw-r--r--extra/elasticsearch/release_schema.json2
2 files changed, 4 insertions, 6 deletions
diff --git a/extra/elasticsearch/container_schema.json b/extra/elasticsearch/container_schema.json
index 83791ab8..b0a47e85 100644
--- a/extra/elasticsearch/container_schema.json
+++ b/extra/elasticsearch/container_schema.json
@@ -33,10 +33,10 @@
"name": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
"publisher": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
"container_type": { "type": "keyword" },
- "wikidata_qid": { "type": "keyword" },
"issnl": { "type": "keyword" },
+ "wikidata_qid": { "type": "keyword" },
+ "country": { "type": "keyword" },
"region": { "type": "keyword" },
- "nation": { "type": "keyword" },
"discipline": { "type": "keyword" },
"languages": { "type": "keyword" },
"mimetypes": { "type": "keyword" },
@@ -46,14 +46,12 @@
"in_doaj": { "type": "boolean" },
"in_road": { "type": "boolean" },
"in_doi": { "type": "boolean" },
- "in_doaj_works": { "type": "boolean" },
"in_sherpa_romeo":{ "type": "boolean" },
"is_oa": { "type": "boolean" },
"is_longtail_oa": { "type": "boolean" },
"any_kbart": { "type": "boolean" },
"any_jstor": { "type": "boolean" },
- "any_sim": { "type": "boolean" },
- "ia_homepage_status": { "type": "boolean" },
+ "any_ia_sim": { "type": "boolean" },
"releases_total": { "type": "integer" },
"releases_kbart": { "type": "integer" },
diff --git a/extra/elasticsearch/release_schema.json b/extra/elasticsearch/release_schema.json
index 4cfe0894..565c8137 100644
--- a/extra/elasticsearch/release_schema.json
+++ b/extra/elasticsearch/release_schema.json
@@ -68,7 +68,7 @@
"in_dweb": { "type": "boolean" },
"in_web": { "type": "boolean" },
"in_ia": { "type": "boolean" },
- "in_sim": { "type": "boolean" },
+ "in_ia_sim": { "type": "boolean" },
"in_shadows": { "type": "boolean" },
"author": { "type": "alias", "path": "contrib_names" },