On 5/10/06, Erik Hatcher <[EMAIL PROTECTED]> wrote:
I build a "facet" cache in my request handler, but I need it to get refreshed when the index changes. How can my custom request handler manage this cache and get notified when the index changes?
The easiest way is to let Solr keep the cache (use a custom user cache defined in the solrconfig.xml) and implement a Regenerator that is called to create and refresh a new instance when the searcher is changed. Does that suit your needs? -Yonik
