Re: [MarkLogic Dev General] How to get XML document as json using REST API in MarkLogic 7

2014-08-19 Thread Gnanaprakash.Bodireddy
Hi I got a work around for the issue with JSON and am sharing for our future reference I am going through ML 7 documentation and found that we have new search options now and one among them is result-decorator https://docs.marklogic.com/guide/search-dev/query-options#id_63172 I used custom co

Re: [MarkLogic Dev General] Attribute indexing

2014-08-19 Thread David Lee
/// MarkLogic always indexes element values and element-attribute values in a hash index. No extra configuration is needed, and it can't be turned off. Element, attribute, and path range indexes are value indexes. These are only needed for fast sorting, inequality lookups, facets,

Re: [MarkLogic Dev General] Attribute indexing

2014-08-19 Thread Siddesh Samarth
Please remove me from the list. I wish to unsubscribe. I would appreciate if anyone replies with the procedure.-general-boun...@developer.marklogic.com wrote: -To: MarkLogic Developer Discussion From: Michael Blakeley Sent by: general-boun...@developer.marklogic.comDate: 08/19/2014 07:37PMS

Re: [MarkLogic Dev General] Attribute indexing

2014-08-19 Thread Michael Blakeley
MarkLogic always indexes element values and element-attribute values in a hash index. No extra configuration is needed, and it can't be turned off. Element, attribute, and path range indexes are value indexes. These are only needed for fast sorting, inequality lookups, facets, and similar operat

Re: [MarkLogic Dev General] Failed over Security Database

2014-08-19 Thread Michael Blakeley
Any forest may have a public data directory. Outside of dev environments, most forests should have a non-private location. Operationally this is easier to manage, whether failover is used or not. -- Mike > On Aug 19, 2014, at 4:48, Danny Sinang wrote: > > Hi, > > This use of a non-private di

Re: [MarkLogic Dev General] XQuery processing time

2014-08-19 Thread Santhosh.Rajasekaran2
HI Chauhan, You can use path range index and path range query. And try to compare the results. Create path range index with path : /transaction/*/@transInfoRef Cts:search( /transaction/*, Cts:path-range-query("/transaction/*/@transInfoRef", "=", "ti1") ) Thanks

Re: [MarkLogic Dev General] XQuery processing time

2014-08-19 Thread Michael Blakeley
The problem is likely '*'. Be specific about your QNames, because MarkLogic indexes element values and element-attribute values. Use xdmp:plan to see what indexes are used. To avoid an ugly XPath consider using cts:search with a cts:element-attribute-value query. That allows a sequence of eleme

Re: [MarkLogic Dev General] Attribute indexing

2014-08-19 Thread Gene Thomas
If you look under the databases list in the left hand pane and expand a database you will see a list for element range indexes and attribute range indexes.   Gene On Tuesday, August 19, 2014 6:25 AM, Mary Holstege wrote: You can create a path index that ends in an attribute. //Mary On Au

Re: [MarkLogic Dev General] Attribute indexing

2014-08-19 Thread Mary Holstege
You can create a path index that ends in an attribute. //Mary On Aug 19, 2014 5:47 AM, irisDeveloper wrote: Hi all, I didn't find anything in database configuration , for attribute indexing. Does MarkLogic support xml attribute indexing? Thanks Samby ___

[MarkLogic Dev General] Attribute indexing

2014-08-19 Thread irisDeveloper
Hi all, I didn't find anything in database configuration , for attribute indexing. Does MarkLogic support xml attribute indexing? Thanks Samby ___ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/gene

Re: [MarkLogic Dev General] Failed over Security Database

2014-08-19 Thread Danny Sinang
Hi, This use of a non-private directory for failover forests only pertains to shared-failover configurations, right ? Regards, Danny Sinang On Tue, Mar 18, 2014 at 2:00 AM, Danny Sokolsky < danny.sokol...@marklogic.com> wrote: > In order to set up failover on a forest, it must be in a directo

[MarkLogic Dev General] MarkLogic support for HDP 2.0

2014-08-19 Thread Karthik.Nagarajan2
Hi, Has MarkLogic stopped supporting Hortonworks Data Platform? I saw in some release notes that it is stopped. Can someone please confirm? And is there any reason for stopping the support? Thanks, Karthik This e-mail and any files transmitted with it are for the sole use of the intended recip

[MarkLogic Dev General] XQuery processing time

2014-08-19 Thread Kunal Chauhan
Hello, I am evaluting MarkLogic for XML based application. I split 1.1GB xml file into small pieces of xmls (1000 elements each). *Below is MarkLogic server configuration.* I have turned on following indexing word searches, word positions, fast phrase searches, fast case sensitive searches, fa