AWS - Core Basic Checks - SEARCH - not getting the desired answer
Hello,
I'm trying to do the basic checks on the Core Smoke Collection and I'm not getting the desired answer on one request from SEARCH. The request is POST Get Wells with FacilityEvents Effective Date between X and Y (Range) curl --location --request POST 'https://r3m11.preshiptesting.osdu.aws/api/search/v2/query
The Body of the request is:
{
"kind": "{{authority}}:{{schemaSource}}:master-data--Well:{{standard_schema_version}}",
"query": "data.FacilityEvents.EffectiveDateTime: [1910-01-19 TO 2008-12-31]",
"sort": {
"field": ["data.FacilityEvents.EffectiveDateTime"],
"order": ["DESC"]
},
"limit": 30
}
and the response is:
{
"results": [],
"aggregations": [],
"totalCount": 0
}
The status of this request is 200 Ok But the rest results are:
An observation about this: in IBM and GCP this request is working.... And Debasis just sent to me the body synthax used by Naufal and it worked (just not sure if it is the right response). The body synthax that he sent to me was:
{
"kind": "osdu:wks:master-data--Well:1.0.0",
"query":"createTime: [2022-02-27 TO *]",
"returnedFields": [
"id", "createTime"
]
}