aboutsummaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-02-05 15:42:43 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-02-05 15:42:45 -0800
commit3655bbe6c539fdeccfbfaa19b6fc93a4859e0ca7 (patch)
treedd7a1dc2f47ae2f8bda0c7cfb31cb6f9654f9e9b /extra
parent8007cdfc4e06753a9bbba56d1fa7f9686775e5e8 (diff)
downloadfatcat-3655bbe6c539fdeccfbfaa19b6fc93a4859e0ca7.tar.gz
fatcat-3655bbe6c539fdeccfbfaa19b6fc93a4859e0ca7.zip
ES release: actually do want doc_values for work_id
Eg, for fast "unique count"
Diffstat (limited to 'extra')
-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 607bacf1..b85fc8a4 100644
--- a/extra/elasticsearch/release_schema.json
+++ b/extra/elasticsearch/release_schema.json
@@ -42,7 +42,7 @@
"ident": { "type": "keyword", "normalizer": "default", "doc_values": false },
"state": { "type": "keyword", "normalizer": "default" },
"revision": { "type": "keyword", "normalizer": "default", "doc_values": false },
- "work_id": { "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" },
"subtitle": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": "biblio" },
"original_title": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": "biblio" },