On Sat, Aug 16, 2008 at 12:04 AM, Tim Christensen <[EMAIL PROTECTED]> wrote:
> We have two servers, with the same index load balanced. The indexes are
> updated at the same time every day. Occasionally, a search on one server
> will return different results from the other server, even though the data
> used to create the index is exactly the same.
>
> Is this possibly due to caching?

No, it should not be possible... caches never keep stale entries, so
the result one gets from a cache will always be the result as if there
were no cache.

> Does the cache reset automatically after
> the commit?

Yes.  Caches are per-reader/searcher instance.

> The problem usually resolves itself - by all appearances, randomly, but I
> assume something I don't know is going on such as a new searcher starting up
> for example at some point in the day. All cache settings are the solrconfig
> defaults.

That could be the case... a client calls commit on one server and not the other?
Also make sure any time-based autocommit is disabled.
You should be able to easily search the logs for differences in when
new searchers are opened/registered.

-Yonik
  • Solr Cache Tim Christensen
    • Re: Solr Cache Yonik Seeley

Reply via email to