Yes, I do have one indexwriter instance for each category.

By referring to "dissolving", I mean two things: first, to write all the
changes to a local directory for the writer; second, to disable the writer
instance.

On Wed, Jan 25, 2012 at 5:09 PM, Simon Willnauer <
simon.willna...@googlemail.com> wrote:

> Hey,
>
>
> On Wed, Jan 25, 2012 at 11:01 PM, Cheng <zhoucheng2...@gmail.com> wrote:
> > Hi,
> >
> > I am using multiple writer instances in a web service. Some instances are
> > busy all the time, while some aren't. I wonder how to configure the
> writer
> > to dissolve itself after a certain time of idling, say 30 seconds.
> what do you mean by multiple writers, more than one IndexWriter? I
> don't understand what "dissolve" means in this context?
> maybe you can elaborate more on your architecture please?
>
> simon
> >
> > If the answer is yes, can I do more in the dissolving, such as writing
> the
> > changes to fs directory?
> >
> > Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to