aboutsummaryrefslogtreecommitdiffstats
path: root/schema
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-03 12:43:38 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-03 12:43:38 -0700
commit9fc10fc243cdcb0bf2c01d36254d55baae411153 (patch)
tree21fb7c09973245e7e736acc71d3303f2a568e340 /schema
parent2ec0dfcdefb954d9232a0025cafbf1cc426ae7c2 (diff)
downloadfatcat-covid19-9fc10fc243cdcb0bf2c01d36254d55baae411153.tar.gz
fatcat-covid19-9fc10fc243cdcb0bf2c01d36254d55baae411153.zip
tweak fulltext ES schema
Diffstat (limited to 'schema')
-rw-r--r--schema/fulltext_schema.v00.json10
1 files changed, 8 insertions, 2 deletions
diff --git a/schema/fulltext_schema.v00.json b/schema/fulltext_schema.v00.json
index 26bafe7..11bb49b 100644
--- a/schema/fulltext_schema.v00.json
+++ b/schema/fulltext_schema.v00.json
@@ -45,13 +45,14 @@
"fulltext.body",
"fulltext.acknowledgment",
"fulltext.annex",
+ "biblio_all",
"everything"
]
},
"properties": {
"fatcat_ident": { "type": "keyword", "normalizer": "default", "doc_values": false },
"fatcat_revision": { "type": "keyword", "normalizer": "default", "doc_values": false },
- "cord19_uid": { "type": "keyword", "normalizer": "default", "doc_values": false },
+ "source_tags": { "type": "keyword", "normalizer": "default", "doc_values": false },
"work_id": { "type": "keyword", "normalizer": "default" },
"title": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["biblio_all", "everything"] },
@@ -80,6 +81,8 @@
"jstor_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
"mag_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
"s2_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
+ "cord19_uid": { "type": "keyword", "normalizer": "default", "doc_values": false },
+ "who_covidence_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
"license": { "type": "keyword", "normalizer": "default" },
"publisher": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
"publisher_type": { "type": "keyword", "normalizer": "default" },
@@ -106,6 +109,7 @@
"acknowledgement": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": "everything", "store": true },
"annex": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": "everything", "store": true },
+ "ia_pdf_url": { "type": "keyword", "normalizer": "default", "doc_values": false },
"pdf_url": { "type": "keyword", "normalizer": "default", "doc_values": false },
"pdf_sha1": { "type": "keyword", "normalizer": "default", "doc_values": false },
"thumbnail_url": { "type": "keyword", "normalizer": "default", "doc_values": false },
@@ -115,7 +119,7 @@
},
"everything": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
- "biblio_all": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
+ "biblio_all": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
"affiliation": { "type": "alias", "path": "affiliations" },
"author": { "type": "alias", "path": "contrib_names" },
@@ -126,7 +130,9 @@
"lang": { "type": "alias", "path": "language" },
"stage": { "type": "alias", "path": "release_stage" },
"type": { "type": "alias", "path": "release_type" },
+ "country": { "type": "alias", "path": "country_code" },
+ "source": { "type": "alias", "path": "source_tags" },
"body": { "type": "alias", "path": "fulltext.body" }
}