I haven't built one myself, but have you considered the Solr UserCache?
See: http://wiki.apache.org/solr/SolrCaching#User.2BAC8-Generic_Caches

It even receives warmup signals I believe...

Best
Erick

On Thu, Apr 7, 2011 at 7:39 PM, Sujit Pal <sujit....@comcast.net> wrote:

> Hi,
>
> I am developing a SearchComponent that needs to build some initial
> DocSets and then intersect with the result DocSet during each query (in
> process()).
>
> When the searcher is reopened, I need to regenerate the initial DocSets.
>
> I am on Solr 1.4.1.
>
> My question is, which method in SearchComponent should I override to
> ensure that this regeneration happens whenever the searcher is reopened
> (for example in response to an update followed by a commit)?
>
> If no such hook method exists, how would this need to be done?
>
> Thanks
> Sujit
>
>
>

Reply via email to