lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mordo, Aviran (EXP N-NANNATEK)" <>
Subject RE: UpdateIndex
Date Mon, 29 Aug 2005 13:28:59 GMT
After you delete / add documents, you need to get a new IndexReader instance to reflect the



-----Original Message-----
From: [] 
Sent: Monday, August 29, 2005 7:32 AM
Subject: Re: UpdateIndex


over again a question about updating!
I update my index by first deletion all the documents from index which are not anymore in
the document directories, then i delete all documents from index which have changed and at
last i add all documents to the index which are not in the index but in the document directories!!!
But i is like that... that all works very good!
But the problem is that it doesn't find all documents to add or delete by the first running!!!
For example i deleted 12 documents from the directory or i changed them. If i start the application
it delete only 7 from index.
If i start the application again it delete the other rest!!! But why?

Why doesn't do it by the first time!!!?

Thanks in forward!

Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message