[MarkLogic Dev General] rebalance enable

2016-01-19 Thread Aroul, Pavadai Durai (ELS-CON)
Hi All, I would like to know more about rebalancer enable flag. I am actually in the process of creating a parallel environment by taking a backup in original environment and restore in parallel environment. When I do this restore, if rebalance enable is set to true, it automatically starts th

[MarkLogic Dev General] Correct option format for certification info in xdmp:http-get() function?

2016-01-19 Thread Asit Nautiyal
Hi David/Geert, I am not able to call ssl enabled "https" URL' s with xdmp:http-get() function. I added the certificate in my browser and from browser I am able to call "https" URL''s. I am using xdmp:http-function() to call https URL's (ssl enabled https server in MarkLogic). We have below

Re: [MarkLogic Dev General] Search Constraints in XQuery

2016-01-19 Thread Charles Greer
Hello Ravi, Your guess is correct -- json-property can not be used for nested elements. You can add additional query terms to limit the search to 'registrar', like a container-query (that would be a runtime additional query to AND with the bare json-property) or if you can use a path range inde

[MarkLogic Dev General] Search Constraints in XQuery

2016-01-19 Thread Ravindra B Mamidipaka
In the search:search in XQuery.. for search constraints , how do I specify the json-property to be nested ? I am trying this and it does not work http://marklogic.com/appservic...";> registrar/username case-insensitive Thanks, Ravi

Re: [MarkLogic Dev General] Custom JSON objects

2016-01-19 Thread Kari Cowan
Ahhh, very nice! Thank you! That's just the magic I was looking for. From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Joe Bryan Sent: Tuesday, January 19, 2016 8:27 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev Gen

Re: [MarkLogic Dev General] Custom JSON objects

2016-01-19 Thread Joe Bryan
Hi Kari, I'm not sure why the map:* API works that way, but you have to be explicit in getting the values from the elements in question. Specifically, you can use fn:string() to get the element contents as a string, you can use fn:data() to defer to any applicable schema types, or you can use t

Re: [MarkLogic Dev General] CPF pre-commit action?

2016-01-19 Thread Will Thompson
That doesn't sound too bad. Thanks, guys. -Will > On Jan 18, 2016, at 1:46 PM, Danny Sokolsky > wrote: > > And if your properties are only being used by cpf, then the last step can > skip moving over the properties to the prod database, thus saving you those > fragments in that database. >

Re: [MarkLogic Dev General] Custom JSON objects

2016-01-19 Thread Kari Cowan
It's ML 7 How would I get back the values rather than the node paths? In other words, this: let $outputSimpleJSON:=("{"events":[", fn:string-join( for $doc in $search-this-partner/event (: there are 3 records in this set :) let $theEvent:= $doc/EventTitle let $theStartDate:=$doc/Event

Re: [MarkLogic Dev General] Custom JSON objects

2016-01-19 Thread Kari Cowan
It's ML 7 How would I get back the values of those nodes rather than the node paths? From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of rajamani.marimu...@cognizant.com Sent: Tuesday, January 19, 2016 5:00 AM To: general@developer.marklog

Re: [MarkLogic Dev General] Custom JSON objects

2016-01-19 Thread Rajamani.Marimuthu
Hi, Your code is working fine and getting expected result . Could you please tell me what version of ML u r using. By Raja >>> From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Kari Cowan Sent: Tuesday, January 19, 2016 5:37 AM To: Mar