You could declare your update chain as the default by adding 'default="true"' 
to its declaring element:

   <updateRequestProcessorChain name="nohtml" default="true">

and then you wouldn't need to declare it as the default update.chain in either 
of your request handlers.

On Aug 22, 2013, at 11:57 AM, Shawn Heisey <s...@elyograg.org> wrote:

> On 8/22/2013 9:42 AM, Andrea Gazzarini wrote:
>> You should declare this
>> 
>> <str name="update.chain">nohtml</str>
>> 
>> in the "defaults" section of the RequestHandler that corresponds to your
>> dataimporthandler. You should have something like this:
>> 
>>     <requestHandler name="/dataimport"
>> class="org.apache.solr.handler.dataimport.DataImportHandler">
>>         <lst name="defaults">
>>             <str name="config">dih-config.xml</str>
>>             <str name="update.chain">nohtml/str>
>>         </lst>
>>     </requestHandler>
>> 
>> Otherwise the default update chain will be called (and your URP are not
>> part of that). The solrj, behind the scenes, is a client of the /update
>> request handler, that's the reason why using that you can see your URP
>> working.
> 
> This results in an error parsing the config, so my cores won't start up.  I 
> saw another message via google that talked about using update.processor 
> instead of update.chain, so I tried that as well, with no luck.
> 
> Can I ask DIH to use the /update handler that I have declared already?
> 
> Thanks,
> Shawn
> 

Reply via email to