summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-02-13 14:22:59 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-02-13 14:23:01 -0800
commit2f8788152ff740d049d11e2e263cac978d526e2a (patch)
tree7ddd06822425b69ad6185141b4f542f5fd47d7a0
parent83387210e6775751e5eb690a7d8b56fe99dbe380 (diff)
downloadfatcat-2f8788152ff740d049d11e2e263cac978d526e2a.tar.gz
fatcat-2f8788152ff740d049d11e2e263cac978d526e2a.zip
release schema: do doc_value on DOIs
Because DOIs are pseudo-structured (prefix, and often structure within the publisher-controlled area), I suspect we will in fact be wanting to do analytics over these strings.
-rw-r--r--extra/elasticsearch/release_schema.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/elasticsearch/release_schema.json b/extra/elasticsearch/release_schema.json
index b85fc8a4..1b91696c 100644
--- a/extra/elasticsearch/release_schema.json
+++ b/extra/elasticsearch/release_schema.json
@@ -59,7 +59,7 @@
"pages": { "type": "keyword", "normalizer": "default", "copy_to": "biblio" },
"first_page": { "type": "keyword", "normalizer": "default" },
"number": { "type": "keyword", "normalizer": "default", "copy_to": "biblio" },
- "doi": { "type": "keyword", "normalizer": "default", "doc_values": false },
+ "doi": { "type": "keyword", "normalizer": "default" },
"doi_prefix": { "type": "keyword", "normalizer": "default" },
"doi_registrar": { "type": "keyword", "normalizer": "default" },
"pmid": { "type": "keyword", "normalizer": "default", "doc_values": false },