-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert
.tasks
back to being created from template (#67188)
Part of #61656. Partial revert of #66640. Managing .tasks via the system index infrastructure is causing a BWC issue, so this commit reverts the index back to being created via a template until we can figure out the problem.
- Loading branch information
1 parent
39a3875
commit 7256e8b
Showing
3 changed files
with
154 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
server/src/main/resources/org/elasticsearch/tasks/task-index-mapping.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"task" : { | ||
"_meta": { | ||
"version": 3 | ||
}, | ||
"dynamic" : "strict", | ||
"properties" : { | ||
"completed": { | ||
"type": "boolean" | ||
}, | ||
"task" : { | ||
"properties": { | ||
"action": { | ||
"type": "keyword" | ||
}, | ||
"cancellable": { | ||
"type": "boolean" | ||
}, | ||
"id": { | ||
"type": "long" | ||
}, | ||
"parent_task_id": { | ||
"type": "keyword" | ||
}, | ||
"node": { | ||
"type": "keyword" | ||
}, | ||
"running_time_in_nanos": { | ||
"type": "long" | ||
}, | ||
"start_time_in_millis": { | ||
"type": "long" | ||
}, | ||
"type": { | ||
"type": "keyword" | ||
}, | ||
"status": { | ||
"type" : "object", | ||
"enabled" : false | ||
}, | ||
"description": { | ||
"type": "text" | ||
}, | ||
"headers": { | ||
"type" : "object", | ||
"enabled" : false | ||
} | ||
} | ||
}, | ||
"response" : { | ||
"type" : "object", | ||
"enabled" : false | ||
}, | ||
"error" : { | ||
"type" : "object", | ||
"enabled" : false | ||
} | ||
} | ||
} | ||
} |