Thanks Erick. This looks like it would work... I sent out an update to
my original query, there is another approach that would probably also
work for my case that is being used by SpellCheckerComponent.

I will check out both approaches.

Thanks very much for your help.

-sujit

On Thu, 2011-04-07 at 20:58 -0400, Erick Erickson wrote:
> 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