Re: [MarkLogic Dev General] How to get the number of records ingested by a MLCP hit

2017-01-11 Thread Sam Mefford
I'm sure you could find a way. But using mlcp in a Java application is not a supported usage. mlcp is designed to run at the command-line. Sam Mefford Senior Engineer MarkLogic Corporation sam.meff...@marklogic.com Cell: +1 801 706 9731 www.marklogic.com This e-mail

[MarkLogic Dev General] sort-order is not working as expected

2017-01-11 Thread Shiv Shankar
Hi, I am using sort-order option in "search" query, but the results are not in order as expected i.e it is same order for Ascending/descending. I created an range-index too. Any advise? Query: http://localhost:8080/LATEST/qbe?query={

Re: [MarkLogic Dev General] Execute Xquery code using REST API

2017-01-11 Thread Sam Mefford
Can you share more details about what you've tried and how you've verified that it's not working? Sam Mefford Senior Engineer MarkLogic Corporation sam.meff...@marklogic.com Cell: +1 801 706 9731 www.marklogic.com This e-mail and any accompanying attachments are

[MarkLogic Dev General] Execute Xquery code using REST API

2017-01-11 Thread Bhushan Suryawanshi
Hi Guys, Greetings of the day. I am using MarkLogic8 using REST API. I was trying to execute the below XQuery Code using REST Api. let $size := 1 let $distinct-element-qnames := distinct-values( for $i in doc("BTU_NZ_Equity.xml")[1 to $size]//* return node-name($i) ) for $qn in

Re: [MarkLogic Dev General] How to get the number of records ingested by a MLCP hit

2017-01-11 Thread Yogesh Kumar
Gentle reminder!! On 09-Jan-2017 3:44 PM, "Yogesh Kumar" wrote: > Gentle reminder!! > > On 07-Jan-2017 10:13 PM, "Yogesh Kumar" wrote: > >> Hi Team, >> >> I am using MLCP in my java code to ingest the data into Mark Logic. How >> can I get the