mmmm I think I get it. Many of the objects that depend on the configuration
are instantiated by using reflection, is that an option for you?

On Mon, Aug 29, 2011 at 12:33 PM, Federico Fissore <fiss...@celi.it> wrote:

> Tomás Fernández Löbbe, il 29/08/2011 16:39, ha scritto:
>
>  You can do a lot of dependency injection though solrconfig.xml and
>> schema.xml, Specify search components, update processors, filters,
>> similarity, etc. Solr doesn't use any DI framework, everything is built-in
>> in a pluggable manner. What kind of customizations do you need to apply?
>> maybe we can point you better.
>>
>
>
> for example, I have a classification component: it can retrieve
> classification data either from the file system or via a rest call.
>
> the "retriever" is a parameter of the component and we want to set it
> depending if we host the searcher or if the customer choose to install it
> locally
>
> i would like to inject a custom bean into the search component: at init
> time, it will just call the retrieve method and that will return the
> classification
>
> (ps: we are trying to migrate our existing system to solr)
>
> thanks in advance
>
> federico
>

Reply via email to