Co-authored-by: xssfox <xss@sprocketfox.io>
This commit is contained in:
Michaela Wheeler 2024-10-16 11:04:49 +11:00 committed by GitHub
parent 46db8e1f96
commit ffd606d60c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -596,22 +596,53 @@ async def predict_async(event, context):
}, },
"query": { "query": {
"bool": { "bool": {
"must": [], "must_not":[
"filter": [ {
{ "match": {
"match_all": {} "lat": 0,
}, }
{ },
"range": { {
"datetime": { "match": {
"gte": "now-10m", "lon": 0,
"lte": "now", }
"format": "strict_date_optional_time" },
{
"match": {
"sats": 0,
}
} }
} ],
} # "must": [
], # {
"should": [] # "exists": {
# "field": "sats"
# }
# },
# {
# "range": {
# "sats": {
# "gte": 1,
# "lt": None
# }
# }
# }
# ],
"filter": [
{
"match_all": {}
},
{
"range": {
"datetime": {
"gte": "now-10m",
"lte": "now",
"format": "strict_date_optional_time"
}
}
}
],
"should": []
} }
}, },
"size": 0 "size": 0