hello, the thing is:
I got a indexwriter and indexsearcher. I do a indexsearcher.getIndexReader.delete(int id) would not that cause problems? there is not a way to delete from indexwriter, and I think i will cause a lock issue deleting from indexsearcher. best, -C.B. On Thu, Jul 24, 2008 at 2:13 AM, Karl Wettin <[EMAIL PROTECTED]> wrote: > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >