On Friday 29 September 2006 14:54, Mark Modrall wrote: > It > would be nice if I could do IndexSearcher(IndexModifier) or > IndexSearcher(IndexModifier.getReader()) or something.
The reader and writer are closed automatically if needed, so they cannot easily be given to the outside. If you want to give it a try anway: IndexModifer was designed to be extendable, so you can just create your own subclass of IndexModifier that adds these methods. Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]