Hi Soumadri,

You can use xdmp:server() for that purpose. Call it without any parameter. You 
can find more about it here:

http://developer.marklogic.com/pubs/4.2/apidocs/Ext-7.html#xdmp:server

Kind regards,
Geert

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Chowdhury, Soumadri
> Sent: woensdag 12 januari 2011 15:25
> To: '[email protected]'
> Subject: [MarkLogic Dev General] How to get current appserver is
> 
> Hi,
> 
>  
> 
> Is there any function in MarkLogic which returns the 
> "appserver id" from where the query is executing?
> 
>  
> 
> Thnaks & Regards,
> 
> Soumadri Roy
> 
> -----------------
> 
> http://mindofaprogrammer.blog.com/
> 
> http://thesubconsciousblogger.in <http://thesubconsciousblogger.in/>  
> 
>  
> 
> ________________________________
> 
> Disclaimer:
> -----------
> 
> "This e-mail and any files transmitted with it are for the 
> sole use of the intended recipient(s) and may contain 
> confidential and 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]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to