That's covered in the section on MVCC and updates.

Documents aren't updated in place, which has the great benefit that each stand 
can keep its registered query cache unchanged even in the face of updates.  
Each stand can use timestamp tracking to eliminate deleted or past versions of 
modified documents from the results, while the new stand with the new version 
of the document includes the proper document version in the results.

I should point out, as a user of MarkLogic you never need to worry about this.  
It's all nicely invisible as the magic happens behind the scenes.

-jh-

On May 13, 2011, at 11:36 AM, Abhishek53 S wrote:

> 
> Thanks Jason ! The concept is much  cleared. The only things I need to verify 
> is that Registered query not only evaluate the query but it stores the 
> document reference to. If the document will updated deleted or inserted then 
> the cache will update as soon as the operation is performed.
> 
> Let me rectify If I am wrong. 
> 
> Abhishek Srivastav
> Systems Engineer
> Tata Consultancy Services
> Cell:- +91-9883389968
> Mailto: [email protected]
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty. IT Services
> Business Solutions
> Outsourcing
> ____________________________________________
> 
> [email protected] wrote: -----
> 
> To: General MarkLogic Developer Discussion <[email protected]>
> From: Jason Hunter <[email protected]>
> Sent by: [email protected]
> Date: 05/13/2011 10:07PM
> Subject: Re: [MarkLogic Dev General] Registered Query & document reference
> 
> There's a good discussion of how registered query works internally in the 
> "Inside MarkLogic Server" paper.  
> http://developer.marklogic.com/inside-marklogic
> 
> -jh-
> 
> On May 13, 2011, at 4:12 AM, Abhishek53 S wrote:
> 
>> 
>> Hi All
>> 
>> As per my understanding of registered query , Marklogic only stores  query 
>> grammar as evaluated format into the cache. Does it also store the fragment 
>> reference related to the registered query( or any kind of query result 
>> caching).
>> 
>> 
>> Thanks in advance!
>> 
>> Abhishek Srivastav
>> Systems Engineer
>> Tata Consultancy Services
>> Cell:- +91-9883389968
>> Mailto: [email protected]
>> Website: http://www.tcs.com
>> ____________________________________________
>> Experience certainty.        IT Services
>>                        Business Solutions
>>                        Outsourcing
>> ____________________________________________=====-----=====-----=====
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain 
>> confidential or privileged information. If you are 
>> not the intended recipient, any dissemination, use, 
>> review, distribution, printing or copying of the 
>> information contained in this e-mail message 
>> and/or attachments to it are strictly prohibited. If 
>> you have received this communication in error, 
>> please notify us by reply e-mail or telephone and 
>> immediately and permanently delete the message 
>> and any attachments. Thank you
>> 
>> 
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://developer.marklogic.com/mailman/listinfo/general
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
> 
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to