Re: [MarkLogic Dev General] JSON sending in the request body is not being converted into map:map in ML8 using roxy however working fine with ML6

2015-04-28 Thread David Ennis
HI. The issue here may be is that json is a first-class citizen in MarkLogic 8 and is happy staying as json. If all of your code expects a map, then perhaps you can test the type of the document and if its json, transform it to the map on the fly. Kind Regards, David Ennis Kind Regards,

Re: [MarkLogic Dev General] SQL Query Performance and Tableau Connection

2015-04-28 Thread Brad Rix
One comment about your specific query.You have a left outer join against the patientaddress table. This can actually be written as an inner join with the same results since you are restricting the right side of the outer join with the where clause. You can try your query as an inner join

[MarkLogic Dev General] JSON sending in the request body is not being converted into map:map in ML8 using roxy however working fine with ML6

2015-04-28 Thread Indrajeet Verma
Hi, Please help us if you have encountered same kind of problem. We are upgrading ML6 to ML8 and using roxy as well. The roxy is customized based on the customer requirement. For one of the REST request /setcache, we are sending below data to cache and that is being converted into map (key

Re: [MarkLogic Dev General] JSON sending in the request body is not being converted into map:map in ML8 using roxy however working fine with ML6

2015-04-28 Thread David Lee
This is probably best addressed by filing an issue on the Roxy github issue tracker. https://github.com/marklogic/roxy Roxy is a community/developer supported product. I suspect the issue is due to the (not backwards compatible, but documented) change to many JSON related API's in MarkLogic.

Re: [MarkLogic Dev General] JSON sending in the request body is not being converted into map:map in ML8 using roxy however working fine with ML6

2015-04-28 Thread Indrajeet Verma
Thank you David for your explanation. I also have same understanding however not able to find exact method/module which is not converting into map. I identified router.xqy (line 67) and request.xqy where the conversion is happening and setting map to the request. Might be good to open a ticket

Re: [MarkLogic Dev General] JSON sending in the request body is not being converted into map:map in ML8 using roxy however working fine with ML6

2015-04-28 Thread Christopher Hamlin
On Tue, Apr 28, 2015 at 11:42 AM, Indrajeet Verma indrajeet.ve...@gmail.com wrote: ... Could you please help me to get the link of the APIs that have modified as you said in your comments? OR Should we look into release notes? Since JSON is now native, there is much change in v8. The

Re: [MarkLogic Dev General] SQL Query Performance and Tableau Connection

2015-04-28 Thread Walt Rolle
Sorry for the duplicate here, I had to subscribe first... From: Walt Rolle Sent: Tuesday, April 28, 2015 11:24 AM To: 'Brad Rix'; MarkLogic Developer Discussion; Cynthia Jiang Cc: Scott Fowler; 'sara.ma...@marklogic.com' Subject: RE: [MarkLogic Dev General] SQL Query Performance and Tableau

Re: [MarkLogic Dev General] Error in getting map keys in ML8

2015-04-28 Thread Indrajeet Verma
Thank you Bryan for your help! Regards, Indy On Wed, Apr 29, 2015 at 12:38 AM, Joe Bryan joe.br...@marklogic.com wrote: Hi Indrajeect, Your $params variable is an element (the serialization of a map), not a map. You can use the map constructor function to convert the XML serialization of

Re: [MarkLogic Dev General] SQL Query Performance and Tableau

2015-04-28 Thread Freddy Holwerda
Corpration -- next part -- An HTML attachment was scrubbed... URL: http://developer.marklogic.com/pipermail/general/attachments/20150428/c22d795f/attachment-0001.html -- Message: 3 Date: Tue, 28 Apr 2015 11:22:56 +0530 From

[MarkLogic Dev General] Error in getting map keys in ML8

2015-04-28 Thread Indrajeet Verma
Hi, Could somebody help me what I am missing in below query. I am using this code in ML8 let $params := map:map xmlns:map=http://marklogic.com/xdmp/map; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xs=http://www.w3.org/2001/XMLSchema; map:entry

Re: [MarkLogic Dev General] Error in getting map keys in ML8

2015-04-28 Thread Joe Bryan
Hi Indrajeect, Your $params variable is an element (the serialization of a map), not a map. You can use the map constructor function to convert the XML serialization of a map to map: return map:keys(map:map($params)) Thanks. -jb From: Indrajeet Verma

Re: [MarkLogic Dev General] Is data also store in forest

2015-04-28 Thread Shashidhar Rao
Thanks all for the info. On Tue, Apr 28, 2015 at 11:22 AM, Shashidhar Rao raoshashidhar...@gmail.com wrote: Hi, We are running out of disk space due to the indexing . Could some answer a basic question. I have loaded data to Marklogic server from /home/data/data1 . Now the loading is

Re: [MarkLogic Dev General] Is data also store in forest

2015-04-28 Thread Rajamani.Marimuthu
Hi Shashi, Yes, You can delete the data once the ML ingestion s done. And always configure the great disk space for the forest more than the actual content size recommended by ML . By Raja From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On

Re: [MarkLogic Dev General] Is data also store in forest

2015-04-28 Thread Geert Josten
It is wise to keep the free space twice or maybe even three times as large as the total forest sizes as a general rule. All data, including binary is normally inserted into the forest itself, though large binaries are stored outside the search scope, but within MarkLogic data folder. The only