Re: Web demo example: Errors from Tomcat startup

2002-02-10 Thread Don Gilchrest - Sun Microsystems
D'oh! Thanks for pointing out that Ian! I looked at the demo instructions again more closing and noticed that Andy had specified .. as the last argument: java -verbose org.apache.lucene.demo.IndexHTML -create -index {index} .. The command succeeds that way. thanks again, -don (embarrassed)

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

2002-02-10 Thread Daniel Calvo
Hi Doug, Problem solved, thanks! BTW, is the way I'm doing the deletion the correct one? I reckon I can't use a cached reader, since I have to close it after the deletion to release the write lock. Does it make sense? Regarding writers, is it ok to share a single IndexWriter with multiple

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