Re: [MarkLogic Dev General] Element Range Index query not working

2017-03-16 Thread Dave Cassel
http://developer.marklogic.com/mailman/listinfo/general -- Dave Cassel, @dmcassel Technical Community Manager MarkLogic Corporation http://developer.marklogic.com/ From:

Re: [MarkLogic Dev General] Element Range Index query not working

2017-03-16 Thread Mat Gritt
How do I unsubscribe to this list? Thank you for your help Mat From: on behalf of Geert Josten Reply-To: MarkLogic Developer Discussion Date: Friday, 17 March 2017 at 10:09 AM To:

Re: [MarkLogic Dev General] Element Range Index query not working

2017-03-16 Thread Geert Josten
Hi Shan, You search on a date that is larger than the two dates in the data, and also specify GT (Greater Than). That will not match either of the startDates. Have you tried with LT or LE? Not sure if it is relevant, but you provide a date to a dateTime query. Kind regards, Geert From:

[MarkLogic Dev General] Element Range Index query not working

2017-03-16 Thread Shiv Shankar
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":