Re: [MarkLogic Dev General] gradle set up issue with comand line

2017-12-11 Thread Linesh Sheth
Hi Vikas, I have cc’d Srinath who is leading the MarkLogic CoE in Cognizant and I work with him on all MarkLogic related project/ MarkLogic enablement. Please let me know what team/Project you are working on and I can setup webex call to help you with ml-gradle setup issue. Thanks, Linesh F

Re: [MarkLogic Dev General] DB modifications and try/catch

2017-12-11 Thread Mary Holstege
On Mon, 11 Dec 2017 10:09:47 -0800, Florent Georges wrote: > Hi Mary, > > Thank you for this clear explanation. This is excellent news (news to me > at least), I always assumed try/catch were trickier than that WRT errors. > > Just out of curiosity, how is that possible efficiently? I can onl

Re: [MarkLogic Dev General] gradle set up issue with comand line

2017-12-11 Thread Timothy Taylor
Hi Vikas, I work with Jeff Faraday on our Cognizant partnership. You may know Linesh Sheth also. He’s on my team. I’ve reached out to the else developer on ml-grade to get an answer. Meanwhile, may I ask what prospect or customer account you’re supporting? Tim Sent from my iPad > On Dec 11,

[MarkLogic Dev General] Rewriter - match-path - regex sub-matches not set

2017-12-11 Thread Florent Georges
Hi, I am using a declarative XML rewriter. I have a problem with a rule, the matches from the regex in match-path seem to be empty: 0: $0, 1: $1, 2: $2 /web/$1/$2 And indeed, in the logs, I get the following: 2017-12-11 18:22:13.681 Info:

Re: [MarkLogic Dev General] DB modifications and try/catch

2017-12-11 Thread Florent Georges
Hi Mary, Thank you for this clear explanation. This is excellent news (news to me at least), I always assumed try/catch were trickier than that WRT errors. Just out of curiosity, how is that possible efficiently? I can only imaging using several MVCC copies, that we create when entering a try b

Re: [MarkLogic Dev General] DB modifications and try/catch

2017-12-11 Thread Mary Holstege
Updates within the body of the try will be abandoned; updates before or after will be kept. That is, as long as they are catchable exceptions. If you get an exception in the commit of the whole transaction, all transactions will be lost. That's as far as updates go. Some side-effects are no

[MarkLogic Dev General] One of the three nodes not responding

2017-12-11 Thread Prakashkumar Patel
? Hi, We are running ML scheduled task that reads data and applies transformations on newly added data and saves it to a different database. While the process is running we are seeing XDMP-NEWSTAMP? errors and one of the three nodes stops responding after point. The weird thing here is that

Re: [MarkLogic Dev General] gradle set up issue with comand line

2017-12-11 Thread Garrow, Heather
Hi - I think you want to deploy your Database changes first gradle mlDeployDatabases There are a number of tasks to get as fine grained as you want for the task. In my limited experience, I've also just set the reindexing flag to true in the database configuration, which starts reindexing as so

[MarkLogic Dev General] DB modifications and try/catch

2017-12-11 Thread Florent Georges
Hi, I would like to have a confirmation about the handling of side effects (that is, everything related to MVCC) in the context of try/catch. I always thought that "whatever was executed in a try clause" before an error is raised was going to be kept if the error is caught. I know there is an in

[MarkLogic Dev General] gradle set up issue with comand line

2017-12-11 Thread Vikas.Singh6
Hi All, I am doing set up of marklogic using gradle.I followed theses steps * created build .gradle file as plugins { id "net.saliman.properties" version "1.4.6" id "com.marklogic.ml-gradle" version "2.7.3" } * Now use ml command mlNew and created grad