Skip to content

Commit cfbdc0b

Browse files
authored
Merge pull request #26 from imcaizheng/job-replace-end-date-with-duration
add duration to ES mapping for job
2 parents cac295b + 5b0985d commit cfbdc0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scripts/createIndex.js

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ async function createIndex () {
2020
description: { type: 'text' },
2121
title: { type: 'text' },
2222
startDate: { type: 'date' },
23+
duration: { type: 'integer' },
2324
numPositions: { type: 'integer' },
2425
resourceType: { type: 'keyword' },
2526
rateType: { type: 'keyword' },

0 commit comments

Comments
 (0)