cancel
Showing results for 
Search instead for 
Did you mean: 

Anyway to get newly added files for every interval of time

kishore
Champ in-the-making
Champ in-the-making
Hi,

      I want to retrieve or get list of documents or node uuids that are added to repository for every specified time i.e., say for every 10 min. of interval so that by my webservice code can pings the repository periodically and get the list of douments that are added at that time.But i dont have any idea so far.

    Help is appreciated in this regard.

Thanks
Kishore
1 REPLY 1

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

One way may be wrote a Lucene query that returns all documents with a modified date within the last 10 minutes.  You could then use the query method on the Repository Web Service to retireve the results.

Have a look at the documentation in the Wiki on how to write Lucene queries.

Cheers,
Roy