Thanks for the advice. Unfortunately, my plan was to two have two instances
both running as "masters" although one would only be a warm-standby for
querying purposes. I just wanted a little bit of redundancy for the moment
and I though a true master-slave setup would be overkill. Is it really
problematic to run queries on instances that aren't auto-warmed? Sounds like
I'm stuck between a rock and a hard-place. Am I going to have to build my
initial index w/ one configuration and then re-start with a different
configuration? I'd prefer to avoid that.

If I can get the auto-warming issue straightened out. I *should* be OK w/ a
fairly conservative commit strategy (either auto-commit every fairly large #
of docs, or do the same programmatically). Does this sound right?

On 5/10/08, Chris Hostetter <[EMAIL PROTECTED]> wrote:
>
>
> : On a solr instance where I am in the process of indexing moderately
> large
>
> : number of documents (300K+). There is no querying of the index taking
> place
> : at all.
> : I don't understand what operations are causing new searchers to warm, or
> how
> : to stop them from doing so.  I'd be happy to provide more details of my
> : configuration if necessary, I've made very few changes to the
> solrconfig.xml
> : that comes with the sample application.
>
>
> the one aspect that i didn't see mentioned in this thread so far is cache
> autowarming.
>
> even if no querying is going on while you are doing all the indexing, if
> some querying took place at any point, and your caches have someentries in
> them.  every commit will cause autowarming of caches to happen (according
> to the autowarm settings on each cache) which result in queries getting
> executed on your "warming" searcher, and those queries keep cascading on
> to the subsequent warming searchers.
>
> this is one of the reasosn why it's generlaly a good idea to have the
> cache sizes on your "master" boxes all have autowarm counts of "0".  you
> can still use the caches in case you do inadvertantly hit your master (you
> don't want it to fall over and die) but you don't want to waste a lot of
> time warming them on every commit until the end of time.
>
> -Hoss
>
>

Reply via email to