[MarkLogic Dev General] point in time query and cts:search

Shah, Mehul (LNG-NPV) mehul.shah at lexisnexis.com
Tue Mar 13 06:38:17 PDT 2012


Thanks Mike.

-----Original Message-----
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Michael Blakeley
Sent: Monday, March 12, 2012 12:52 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] point in time query and cts:search

Write a main module that calls cts:search, or whatever XQuery you like. Then supply the module name and the point-in-time option to xdmp:invoke. You can use xdmp:request-timestamp to check that the timestamp is what you expect.

-- Mike

On 12 Mar 2012, at 16:26 , Shah, Mehul (LNG-NPV) wrote:

> In documentation I see point in time query is with XPath  using xdmp:eval, xdmp:invoke, and xdmp:spawn.
> 
> I want to use full search power, i.e. various search options, facets, relevancy ranking etc
> 
> How can I use cts:search for point in time query? 
> 
> 
> Thanks.
> 
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
> 

_______________________________________________
General mailing list
General at developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


More information about the General mailing list