RE: problems with last patch (obtain write.lock while deleting documents)

2002-02-10 Thread Daniel Calvo
important, for Lucene) --Daniel -Original Message- From: Doug Cutting [mailto:[EMAIL PROTECTED]] Sent: domingo, 10 de fevereiro de 2002 19:55 To: 'Lucene Users List' Subject: RE: problems with last patch (obtain write.lock while deleting documents) From: Daniel Calvo [mailto:[EMAIL

RE: problems with last patch (obtain write.lock while deleting documents)

2002-02-10 Thread Daniel Calvo
From: Doug Cutting [mailto:[EMAIL PROTECTED]] It is most effiecient to batch deletions and insertions, i.e., perform a bunch of deletions on a single IndexReader, close it, then perform a bunch of insertions on a single IndexWriter. Usually the IndexReader that you do the deletions on is