From 7f554014a04570f1117045738bc43793f0bf883f Mon Sep 17 00:00:00 2001 From: Joe Fleming Date: Mon, 25 Apr 2016 16:27:07 -0700 Subject: [PATCH] tweak the schema, status is a keyword --- src/helpers/create_index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/create_index.js b/src/helpers/create_index.js index 5c8edbb..2ffd46d 100644 --- a/src/helpers/create_index.js +++ b/src/helpers/create_index.js @@ -8,7 +8,7 @@ var schema = { completed_at: { type: 'date' }, attempts: { type: 'short' }, max_attempts: { type: 'short' }, - status: { type: 'string', index: 'not_analyzed' }, + status: { type: 'keyword' }, output_content_type: { type: 'string', index: 'not_analyzed' }, output: { type: 'object', enabled: false } };