From 5b0985dd9f74fcd42dc484279954c67e123083a7 Mon Sep 17 00:00:00 2001 From: imcaizheng Date: Wed, 10 Feb 2021 23:23:22 +0800 Subject: [PATCH] add duration to ES mapping for job --- src/scripts/createIndex.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/createIndex.js b/src/scripts/createIndex.js index 865b0bc..45cca2e 100644 --- a/src/scripts/createIndex.js +++ b/src/scripts/createIndex.js @@ -20,6 +20,7 @@ async function createIndex () { description: { type: 'text' }, title: { type: 'text' }, startDate: { type: 'date' }, + duration: { type: 'integer' }, numPositions: { type: 'integer' }, resourceType: { type: 'keyword' }, rateType: { type: 'keyword' },