I am a newbie to lucene and I want to know how can I invalidate the previous indexes whenever I add some document to it? Or whenever I add some field to it?
Do I have to reindex the whole lucene index? I assume No, because that will take a hell lot of time.
So what should I do?
I am using Lucene 3.1.
Thanks in advance.