Hi All, I have written a custom update-request processor and need to pass certain parameters to the Processor. I believe solrconfig.xml is the place to pass these parameters. At the moment I define my parameter in the request handler as below;
<requestHandler name="/dataimport" class="solr.DataImportHandler"> <lst name="defaults"> <str name="config">data-config.xml</str> <str name="update.chain">stanbolInterceptor</str> *<str name="stanbol.enhancer.url">http://localhost:8080/enhancer <http://localhost:8080/enhancer></str>* </lst> </requestHandler> My processor is defined in the stanbolInterceptor update.chain as below; <updateRequestProcessorChain name="stanbolInterceptor"> <processor class="com.solr.stanbol.processor.StanbolContentProcessorFactor" /> <processor class="solr.RunUpdateProcessorFactory" /> </updateRequestProcessorChain> The stanbolInterceptor processor chain will be used in multiple request handlers. Then I will have to pass the stanbol.enhancer.url param in each of those request handler which will cause redundant configurations. Therefore I need to pass the param to the processor directly. But when I pass the params to the Processor as below the parameter is not received to my ProcessorFactory class; <processor class="com.solr.stanbol.processor.StanbolContentProcessorFactor * <str name="stanbol.enhancer.url">http://localhost:8080/enhancer <http://localhost:8080/enhancer></str>* </processor> Can someone point out what might be wrong here? Can someone please advice on how to pass parameters directly to the Processor? Thanks, Dileepa