[MarkLogic Dev General] dls library

2014-10-06 Thread shruti kapoor
Hi all, My application requires me to use a single admin account for multiple users, but how could I allow multiple users to checkout the same document using dls:document-checkout(). I do not need to create multiple users. -- Regards, *Shruti Kapoor* *Software Engineer* *Innodata India Pvt.

Re: [MarkLogic Dev General] dls library

2014-10-06 Thread David Ennis
HI. The DLS library works on MarkLogic User IDs (in fact, the user id must match a user from the system (http://marklogic.com/xdmp/security namespace on the userid element is returned in all cases). If you are not using individual users and need to use DLS, then perhaps you need to re-think: 1)

Re: [MarkLogic Dev General] order by clause ignored?

2014-10-06 Thread David Ennis
HI Ron. That's a great write-up. An example of this in real-terms that comes to mind is the use of cts:element-values in a FLWOR statement and the 'concurrent' option with an order-by clause. We are essentially telling the server via the concurrent option to go off and dance around in another

Re: [MarkLogic Dev General] dls library

2014-10-06 Thread shruti kapoor
Hi David, In my application, there are multiple modules like Rsuite, Marklogic which are connected by REST end points. There is separate layer for authentication so we donot require multiple users on Marklogic level. But multiple users need to use multiple versions of same documents that are

[MarkLogic Dev General] Metadata Registries and ISO 11179

2014-10-06 Thread Mohamad Thahir
Hello All, Do we have any customer who has created Metadata Registries (MDR) using ISO 11179 standards. http://metadata-standards.org/11179/ Or any standards for MDR? Thanks.. Mohamad Thahir Principal Sales Engineer MarkLogic Corporation mohamad.tha...@marklogic.com Phone: +1 703 854 8574

[MarkLogic Dev General] how to include document content in search results (Java client)

2014-10-06 Thread Byszkin, Anna, BioMed Central Ltd.
Hello, I'm trying to return whole documents matching the query (as opposed to just returning matching snippets) using Java client. I was unable to do so, but read that there is a property called transform-results, which if you set to raw will return whole documents. Is there a way to do this

[MarkLogic Dev General] How to call xdmp:eval() with transaction-id option?

2014-10-06 Thread Gary Russo
I'm creating a set of REST extensions that will be used in Mulit-Statement ACID Transactions. The underlying code will use xdmp:eval() with the transaction-id option. Unfortunately, the transaction-id option is undocumented. Can someone please provide an example of using xdmp:eval() with a

Re: [MarkLogic Dev General] how to include document content in search results (Java client)

2014-10-06 Thread Dave Cassel
Hi Anna, If you set up query optionshttp://docs.marklogic.com/guide/java/query-options#chapter that include transform-resultshttp://docs.marklogic.com/guide/rest-dev/appendixb#id_29258, then you can build your StringQueryDefintionhttp://docs.marklogic.com/guide/java/query-options#id_50595