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)
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
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