lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <karl.wet...@gmail.com>
Subject Re: deleting documents with doc id
Date Wed, 23 Jul 2008 23:13:46 GMT

23 jul 2008 kl. 22.08 skrev Cam Bazz:

> hello -
>
> if I make a query and get the document ids and delete with the  
> document id -
> could there be a side effect?
>
> my index is committed periodically, but i can not say when it is  
> committed.

The only thing is that the deltions will not be visible until you  
create a new IndexReader. Also, lots and lots of deletions without  
optimizing an index can have an impact on performance, but that is not  
something you are likely to encounter.


       karl

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message