[MarkLogic Dev General] XSync Api Usage

Isha Chadha i.chadha at mpstechnologies.com
Thu Jul 3 21:16:34 PDT 2008


Hi,

 

I was exploring XSYNC API to download image files stored in Marklogic server
into my local file system. Every time I run it, it synchronizes all the
images even the already downloaded ones. I figured out one way to download
only the newly added images by maintaining their timestamp.

 

I tried setting INPUT_START_POSITION property but it doesn't works as
expected. Whenever Nth number new file is loaded in Marklogic server
(database), and  the above property is set to N or N+1, it doesn't gets
downloaded but few previous files get downloaded. The downloading strategy
is not that clear.   

I also tried using INPUT_TIMESTAMP property. But its usage is not clear.
Moreover couldn't locate it getting used anywhere in the API. Just a
variable being set in Configuration class.

 

Please clarify.

 

Isha Chadha

Senior Software Engineer  
MPS Technologies (A Macmillan company)

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20080704/c27f9235/attachment.html


More information about the General mailing list