Closed flaneuse closed 2 years ago
For the Resources API, it looks like the ES mapping of the date field is probably a string, not date type, since this query doesn't correctly filter dates: https://api.outbreak.info/resources/query?date:[2020-01-01%20TO%20*]&size=10&fields=date
date
On 14 October, the query was working properly. Not sure what changed since then, but it looks like the LST parser doesn't have date in its mapping file.
My fault-- accidentally deleted q= from the query.
q=
For the Resources API, it looks like the ES mapping of the
date
field is probably a string, not date type, since this query doesn't correctly filter dates: https://api.outbreak.info/resources/query?date:[2020-01-01%20TO%20*]&size=10&fields=dateOn 14 October, the query was working properly. Not sure what changed since then, but it looks like the LST parser doesn't have
date
in its mapping file.