lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: how to Index only newly added documents?
Date Tue, 03 Nov 2009 12:34:28 GMT
The api a"lows you to add documents to an index.  However it does not have any functionality
to detect which ones are new or changed.  Regardless, this is some what a trivial thing to
do.  Just write a index app that reads the file names from standard input. On a linux shell
use find or ls and pipe the result to your app.

------Original Message------
From: tarunsapra
Subject: how to Index only newly added documents?
Sent: Nov 3, 2009 9:06 AM

Hi People,

I am stuck with a problem ,i have a resources directory in which i have lot
of documents , my java programs picks up documents from this directory, is
there a way using lucene APIs to recognize documents that have already been
indexed and thus filter then out and use only newly added documents.

View this message in context:
Sent from the Lucene - General mailing list archive at

Enviado desde mi BlackBerry® de Claro Argentina
View raw message