You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2012/07/03 03:27:12 UTC

Re: Using custom user-defined caches to store user app data while indexing

: If you implement SolrCoreAware interface in your custom
: UpdateRequestProcessorFactory, you could then access your cache via Solr
: Core in the inform method, I think. Haven't tried it myself, but it looks
: logical to me to start from there.

right ... but you really only need to be SolrCoreAware if you have to 
access the SolrCore during "initialization"

You can also access the SolrCore from the SolrQueryRequest -- which is 
probably all you need for your UpdateRequestProcessorFactory.


-Hoss