Re: [MarkLogic Dev General] XQuery in async multidoc operations

2017-09-26 Thread Shmennen
Hello,    I want to trigger bulk read/ write operations to MarkLogic into an asynch fashion using XQuery.     I thought using asynch multi doc operations would be a fit but I did not find any XQuery examples for them. RegardsPaul On Tue, Sep 26, 2017 at 21:49, Justin Makeig wrote: Rather

Re: [MarkLogic Dev General] XQuery in async multidoc operations

2017-09-26 Thread Justin Makeig
Rather than describing your solution, can you tell us about the problem you’re trying to solve? Are you trying to do a bulk transformation? Justin -- Justin Makeig Senior Director, Product Management MarkLogic jmak...@marklogic.com > On Sep 26, 2017, at 10:02 AM, Shmennen wrote: > > Hello All

Re: [MarkLogic Dev General] Querying DateTime values

2017-09-26 Thread Kari Cowan
Yes, you're right. I tried this way and it works and searches the directory I wanted... the return just shows my search, and 10 uri's and 10 docs (for testing confirmation). Thanks for the tips on the cleaner way to write that out - it was perplexing because the query worked just fine on one set

[MarkLogic Dev General] XQuery in async multidoc operations

2017-09-26 Thread Shmennen
Hello All,    Is there any option to perform XQueries in asynchronous multidocument operations? Based on doc https://docs.marklogic.com/guide/java/data-movement  I cannot find anything useful. ThanksPaul JP.___ General mailing list General@developer.mar

Re: [MarkLogic Dev General] Querying DateTime values

2017-09-26 Thread Christopher Hamlin
I'd do it bit by bit. Just change the cts:uris to cts:search: cts:search (/, cts:element-attribute-range-query($element-name, $attribute-name, '>', fn:current-dateTime () - xs:dayTimeDuration('P10D')) ) That still worked for me. Then add in the other stuff gradually. When something doesn't

Re: [MarkLogic Dev General] Querying DateTime values

2017-09-26 Thread Kari Cowan
@chris put another way - how would I test your example using a cts:search rather than displaying in the return option? On Mon, Sep 25, 2017 at 8:45 AM, Kari Cowan wrote: > Chris, Gert - Thanks - I tried your test and I see that it does return > uri's from the last 10 days, so that works - but n