From 3655bbe6c539fdeccfbfaa19b6fc93a4859e0ca7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 5 Feb 2020 15:42:43 -0800 Subject: ES release: actually do want doc_values for work_id Eg, for fast "unique count" --- extra/elasticsearch/release_schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra/elasticsearch') 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" }, -- cgit v1.2.3