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.

On Mon, Aug 29, 2011 at 10:20 AM, Federico Fissore <fiss...@celi.it> wrote:

> Hello everyone
>
> I need to hack solr by adding a couple custom search components.
> One small inconvenience is about configuring all the stuff. AFAIK
> solrconfig.xml is not a place where to do dependency injection, not yet at
> least.
>
> Have you ever had the need to use DI on a solr configuration? How have you
> managed it? Hard coding params in some delegate SearchComponent? Getting a
> reference of a spring application context via some static method? Any more
> elegant ways?
>
> thanks in advance
>
> federico
>

Reply via email to