From 1079aea4a5ea8f22353caf7c74070b6e830498bf Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 25 Jan 2019 16:42:48 -0800 Subject: tweak elastic schemas (again) --- extra/elasticsearch/container_schema.json | 8 +++----- extra/elasticsearch/release_schema.json | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'extra/elasticsearch') 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" }, -- cgit v1.2.3