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.

Diego
------Original Message------
From: tarunsapra
To: [email protected]
ReplyTo: [email protected]
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.

Thanks 
Tarun
-- 
View this message in context: 
http://old.nabble.com/how-to-Index-only-newly-added-documents--tp26160082p26160082.html
Sent from the Lucene - General mailing list archive at Nabble.com.


Enviado desde mi BlackBerry® de Claro Argentina

Reply via email to