forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Part of elastic#61656. Partial revet of elastic#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
af6a05f
commit 1ca07bb
Showing
2 changed files
with
152 additions
and
109 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
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 | ||
} | ||
} | ||
} | ||
} |