thanks On Tue, Feb 14, 2012 at 2:22 AM, Michael McCandless < [email protected]> wrote:
> IndexWriter doesn't require refreshing... just keep it open forever. > It'll run it's own merges when needed (see the MergePolicy/Scheduler). > > Just call .commit() when you want changes to be durable (survive > OS/JVM crash, power loss, etc.). > > Mike McCandless > > http://blog.mikemccandless.com > > On Mon, Feb 13, 2012 at 1:17 PM, Cheng <[email protected]> wrote: > > Hi, > > > > My application will go on for ever. When is good time to refresh the > writer > > (and merge the segments)? > > > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
