Hi,
My below query below is failing by fetching all data.
sample data:
{
"pid": 1,
"fname": "",
"lname": "",
"pinfo": [
{
"screen": "1",
"startDate": "2003-02-13T19:18:21.810Z",
"endDate": ""
},
{
"screen": "2",
"startDate": "2002-02-13T19:18:21.810Z",
"endDate": ""
}
]
}
Search
Post:
{"query":{"queries":[{"range-query":{"type":"dateTime","json-property":"startDate","value":"2004-05-25","range-operator":"GT"}}]}}
Note: created element range index on startDate.
Any advise for REST service to compare between the two dates ( that has
timestamp) ( I did with QBE also)?
Thanks
Shan.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general