From 66953b184d9b664e15cd7d7fddcb250c2b767df5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 4 Nov 2018 18:51:09 -0800 Subject: note elastic plugin needed --- extra/elasticsearch/release_schema.no-plugins.json | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 extra/elasticsearch/release_schema.no-plugins.json (limited to 'extra/elasticsearch/release_schema.no-plugins.json') diff --git a/extra/elasticsearch/release_schema.no-plugins.json b/extra/elasticsearch/release_schema.no-plugins.json new file mode 100644 index 00000000..c879c176 --- /dev/null +++ b/extra/elasticsearch/release_schema.no-plugins.json @@ -0,0 +1,42 @@ +{ +"mappings": { + "release": { + "properties": { + "ident": { "type": "keyword" }, + "revision": { "type": "keyword" }, + "title": { "type": "text", "index": true }, + "author": { "type": "alias", "path": "contrib_names" }, + "journal": { "type": "alias", "path": "container_name" }, + "date": { "type": "alias", "path": "release_date" }, + "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_type": { "type": "keyword" }, + "release_status": { "type": "keyword" }, + "language": { "type": "keyword" }, + "doi": { "type": "keyword" }, + "pmid": { "type": "keyword" }, + "pmcid": { "type": "keyword" }, + "isbn13": { "type": "keyword" }, + "core_id": { "type": "keyword" }, + "wikidata_qid": { "type": "keyword" }, + "publisher": { "type": "text", "index": true }, + "container_name": { "type": "text", "index": true }, + "container_issnl": { "type": "keyword" }, + "container_is_oa": { "type": "boolean" }, + "container_is_longtail_oa": { "type": "boolean" }, + "contrib_count": { "type": "integer" }, + "contrib_names": { "type": "text", "index": true }, + "ref_count": { "type": "integer" }, + "file_count": { "type": "integer" }, + "file_pdf_url": { "type": "keyword" }, + "file_in_webarchive": { "type": "boolean" }, + "file_in_ia": { "type": "boolean" }, + "any_abstract": { "type": "boolean" }, + "is_kept": { "type": "boolean" }, + "in_shadow": { "type": "boolean" } + } + } +} +} -- cgit v1.2.3