I am running into an issue with Azure search which was working before but now receiving Invalid Expression. Am I missing something. Date Type of the filter filed-
{ "name": "ModifiedDateTime", "type": "Edm.DateTimeOffset", "searchable": false, "filterable": true, "facetable": true, "sortable": true }
Api-version=2016-09-01-Preview
Request-
{"queryType":"full","searchMode":"all","filter":"ModifiedDateTime ge 2018-12-12","search":null,"searchFields":null,"count":true}
Error -
{ "error": { "code": "", "message": "Invalid expression: Literal '2018-12-12' of unsupported data type 'Date' was found. Please use a literal that matches the type of the field in the expression.\r\nParameter name: $filter" } }