Re: [MarkLogic Dev General] Error while creating MarkLogic Forest with HDFS as data directory

2015-03-23 Thread Sudheer Yalaverthi
The unknown error was due to Java I had. I had the JAVA_HOME pointing to IBM version of java and while trying to connect with HDFS, MarkLogic keeps giving errors in the logs about missing .io files in the ibm java installation directory. We found those missing io files and placed them in the

Re: [MarkLogic Dev General] xml ingestion quick question

2015-03-23 Thread Michael Blakeley
There is no nesting limit. Why can't you create an element-range index on attachment_filename? Is there an error message? What's the full version number of the MarkLogic release you're using? -- Mike On 23 Mar 2015, at 11:27 , cyanline llc i...@cyanline.com wrote: Hello, What am I

Re: [MarkLogic Dev General] xml ingestion quick question

2015-03-23 Thread cyanline llc
Mike, While attempting to add the Element via the CONFIGURE ELEMENT RANGE INDEX menu on the app builder interface (port 8000), upon hitting the Find button, I receive No elements matched your search. For this app, I have added all the other Element Rage Indexes with this method (~15). I

Re: [MarkLogic Dev General] ML8 404 Error

2015-03-23 Thread Florent Georges
On 22 March 2015 at 22:37, David Lee wrote: Internal trace events are not publicly documented OK, thank you David. -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ ___ General mailing list General@developer.marklogic.com

Re: [MarkLogic Dev General] ML8 Json

2015-03-23 Thread Justin Makeig
Paul, You're constructing XML and trying to insert an object-node child. That's not allowed in MarkLogic 8. Previously xdmp:to-json returned a string, as there was no object-node type. In MarkLogic 8 we introduced new node types to represent JSON: object-node, array-node, null-node,

Re: [MarkLogic Dev General] ML8 Json

2015-03-23 Thread Paul Hoehne
Actually, you’ve got a much easier way of generating JSON in ML 8: It will look something like: let $obj := object-node { “name”: “world”, “label”: “Hello } http://docs.marklogic.com/guide/app-dev/json#id_98451 Hope that helps. Save yourself some angle brackets and typing. Paul Hoehne

Re: [MarkLogic Dev General] ML8 Json

2015-03-23 Thread Paul Williams
Thanks Justin. Makes perfect sense. I missed the significance of that in the incompatibilities listing, but it’s right therehttps://docs.marklogic.com/guide/relnotes/chap4#id_94947. Paul Williams | Technical Consultant M: +1 402 203 2232 | Sk: paul.wms

[MarkLogic Dev General] ML8 Json

2015-03-23 Thread Paul Williams
In upgrading from ML6 to ML8 we have an issue in our application code where we are generating JSON for a client-side script. I know there has been a huge change in JSON support, but can anyone tell me exactly what is going on here? Sample code: xquery version 1.0-ml; let $obj :=

Re: [MarkLogic Dev General] ML8 404 Error

2015-03-23 Thread Paul Williams
Thanks David. So, with those traces on I get... Info: [Event:id=AppRequest Rewrite] handleEval for rewriter failed Info: [Event:id=AppRequest RewriteDetails] Rewriter failed - leaving request loop Is there something I can do to get more info about why the handleEval failed? I've determined

Re: [MarkLogic Dev General] ML8 404 Error

2015-03-23 Thread Geert Josten
Hi Paul, You might want to check the document permissions on all modules that are involved. They need read and exec for the anonymous role. You might also need to give some of the rest privs to allow users with that role to access the REST api at all.. Cheers, Geert From: Paul Williams

[MarkLogic Dev General] xml ingestion quick question

2015-03-23 Thread cyanline llc
Hello, What am I missing that I can create an Element Range Index on attachment-count but not attachment_filename? Below is sample XML that I am ingesting and building an app around. attachment-count1/attachment-count attachments attachment

Re: [MarkLogic Dev General] Distro removal

2015-03-23 Thread Vijay Pandit
Please remove me too: vijayan...@gmail.com Thanks On Mar 23, 2015 7:11 PM, norman817 norman...@gmail.com wrote: Please remove me from your distro list. norman...@gmail.com Thanks, Norman ___ General mailing list General@developer.marklogic.com

[MarkLogic Dev General] Suggestions for data masking

2015-03-23 Thread Joel Wilson Gunasekaran
Hi, Once in a while, we refresh dataset in lower environments with production data for testing purposes. We have a requirement to mask all pii(personally identifiable information) data like email id, phone number, etc. in lower environments like DEV, QA. We were thinking about having a

[MarkLogic Dev General] Distro removal

2015-03-23 Thread norman817
Please remove me from your distro list. norman...@gmail.com  Thanks, Norman___ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general

Re: [MarkLogic Dev General] Distro removal

2015-03-23 Thread Loren Cahlander
Use the link at the bottom of the email to unsubscribe. Sent from my iPad On Mar 23, 2015, at 7:26 PM, Vijay Pandit vijayan...@gmail.com wrote: Please remove me too: vijayan...@gmail.com Thanks On Mar 23, 2015 7:11 PM, norman817 norman...@gmail.com wrote: Please remove me from your