The default user for http server for web service was not admin, because of which I was getting different results
________________________________ From: Kapoor, Pragya Sent: Friday, March 4, 2016 11:44 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] cts;uri-match Yes, I have double checked that, the database is same. Thanks Pragya ________________________________ From: [email protected] <[email protected]> on behalf of sweet frd <[email protected]> Sent: Friday, March 4, 2016 11:39 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] cts;uri-match Hi, kindly check the Database which you are referring in the qconsole and via code is the same. Regards, N. Sumathi. On Fri, Mar 4, 2016 at 1:07 AM, sweet frd <[email protected]<mailto:[email protected]>> wrote: Hi, On Fri, Mar 4, 2016 at 1:06 AM, Kapoor, Pragya <[email protected]<mailto:[email protected]>> wrote: Hi, The api cts:uri-match is behaving differently when running from webservice and qconsole in marklogic 7.0-5 Qconsole: fn:count(cts:uri-match("/docs/*.xml")) Output:46487 Webservice: localhost:8030/GetDetails.xqy fn:count(cts:uri-match("/docs/*.xml")) Output:27553 Why is this api behaving differently? Thanks Pragya "This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential , proprietary or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful." _______________________________________________ General mailing list [email protected]<mailto:[email protected]> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general "This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential , proprietary or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful."
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
