this is solved by keeping document key not in list but in set.
then even with two updates delete and add will appear only once.
Miles Barr wrote:
On Wed, 2005-03-02 at 05:49, Otis Gospodnetic wrote:
Or you can just buffer your update requests and delete in batch and
then add in batch.
Or you cou
On Wed, 2005-03-02 at 05:49, Otis Gospodnetic wrote:
> Or you can just buffer your update requests and delete in batch and
> then add in batch.
>
> Or you could keep that IndexReader on the large index and use it to
> delete objects, while doing adds on a RAMDirectory. Then, when you are
> done,
Or you can just buffer your update requests and delete in batch and
then add in batch.
Or you could keep that IndexReader on the large index and use it to
delete objects, while doing adds on a RAMDirectory. Then, when you are
done, merge the RAMDirectory index with the large one. Also just an
un