MarkLogic interview: What is DLS library in MarkLogic?

 

Q.1. What is DLS library in MarkLogic?

Ans
   DLS library is used for maintain the versions of managed document in the Marklogic server. So that your data will be intact in marklogic while performing any insert/update/delete operation on the document. Marklogic create two copy every time, one is final copy after updating document and second old version copy.   

Example: You want to insert data into DB with '/books.xml'.

You have inserted data with help of dls:document-insert-and-manage() and this function creates two uri: one is  '/books.xml',  and second is '/books_version1.xml'  

Comments

Popular posts from this blog

What is universal index and range index?

What is the basic difference between xdmp:spawn and xdmp:invoke a function in Marklogic.

MarkLogic server architecture.