mirror of
https://github.com/clearml/clearml-server
synced 2025-04-22 15:16:11 +00:00
Add created to the range fields for tasks
This commit is contained in:
parent
fd46f3c6f3
commit
cfcad6300a
@ -242,7 +242,7 @@ class HistoryDebugImageIterator:
|
|||||||
]
|
]
|
||||||
es_req = {
|
es_req = {
|
||||||
"size": 1,
|
"size": 1,
|
||||||
"sort": [{"iter": order}, {"metric": order}, {"variant": order}],
|
"sort": [{"iter": order}, {"metric": order}, {"variant": order}, {"url": "desc"}],
|
||||||
"query": {"bool": {"must": must_conditions}},
|
"query": {"bool": {"must": must_conditions}},
|
||||||
}
|
}
|
||||||
es_res = search_company_events(
|
es_res = search_company_events(
|
||||||
@ -338,7 +338,7 @@ class HistoryDebugImageIterator:
|
|||||||
|
|
||||||
es_req = {
|
es_req = {
|
||||||
"size": 1,
|
"size": 1,
|
||||||
"sort": {"iter": "desc"},
|
"sort": [{"iter": "desc"}, {"url": "desc"}],
|
||||||
"query": {"bool": {"must": must_conditions}},
|
"query": {"bool": {"must": must_conditions}},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,7 +233,7 @@ class Task(AttributedDocument):
|
|||||||
"execution.queue",
|
"execution.queue",
|
||||||
"models.input.model",
|
"models.input.model",
|
||||||
),
|
),
|
||||||
range_fields=("started", "active_duration", "last_metrics.*", "last_iteration"),
|
range_fields=("created", "started", "active_duration", "last_metrics.*", "last_iteration"),
|
||||||
datetime_fields=("status_changed", "last_update"),
|
datetime_fields=("status_changed", "last_update"),
|
||||||
pattern_fields=("name", "comment", "report"),
|
pattern_fields=("name", "comment", "report"),
|
||||||
fields=("runtime.*",),
|
fields=("runtime.*",),
|
||||||
|
Loading…
Reference in New Issue
Block a user