tweak the schema, status is a keyword

This commit is contained in:
2016-04-25 16:27:07 -07:00
parent 6ff2f2cb99
commit 7f554014a0

View File

@@ -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 }
};