Todd,

You'll have to keep track of what has been indexed through some means to ensure 
items are not indexed twice.  My first thought is to use file creation or 
modification times to know what to add to the index. 

Michael

-----Original Message-----
From: Todd McIndoo [mailto:[email protected]] 
Sent: Tuesday, January 26, 2010 10:22 AM
To: [email protected]
Subject: Index and Reindex in Lucene.Net

Hello - Anyone have any thoughts on how to implement this

 

I am using Lucene.Net of version 2.0.0.4 with ASP.NET (Microsoft .NET
Framework 2.0). I have following query.

 

I want to implement an application where I want to give two facility to
user, one is "Index" and second is "Re-Index". 

 

Index - This is index all documents of given directory.

Re-Index - This will append above created index file with newly added
documents in given directory. Assume that directory is same as above. 

 

In Re-Index an application should not index documents which are all ready
indexed but index only which are newly added to the folder. Re-Index should
append index to existing index file which has been created by an application
when user clicks on Index button.

 

Thank you  Todd McIndoo Speedy Solutions

Reply via email to