On Friday 29 September 2006 22:28, Mark Modrall wrote: > So is IndexModifier opening an IndexReader when someone calls .delete() > then closing the reader and opening an IndexWriter when someone calls > addDocument() (for example)?
If someone calls delete and the reader is not open yet, it opens the reader and closes the writer. > Sounds like that could get fairly inefficient. Is IndexModifier for > more convenience (and less performance) than using reader and writer > separately? If you cannot batch deletions and inserts, both will be rather slow. This is documented in the IndexModifier javadoc. Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]