You need to refer to your chain in a RequestHandler config. Search for
/update, duplicate that, and change the chain it points to.

Upayavira

On Mon, Mar 11, 2013, at 05:22 AM, Jack Park wrote:
> With 4.1, not in cloud configuration, I have a custom response handler
> chain which injects an additional handler for studying the documents
> as they come in. But, when I do partial updates on those documents, I
> don't want them to be studied again, so I created another version of
> the same chain, but without my added feature. I named it "/partial".
> 
> When I create an instance of SolrJ for the url <server>/solr/partial,
> I get back this error message:
> 
> Server at http://localhost:8983/solr/partial returned non ok
> status:404, message:Not Found
> {locator=2146fd50-fac9-47d5-85c0-47aaeafe177f,
> tuples={set=99edfffe-b65c-4b5e-9436-67085ce49c9c}}
> 
> Here is the configuration for that:
> 
> <updateRequestProcessorChain name="/partial" default="false">
>       <processor class="solr.RunUpdateProcessorFactory"/>
>       <processor class="solr.LogUpdateProcessorFactory"/>
> </updateRequestProcessorChain>
> 
> The normal handler chain is this:
> 
> <updateRequestProcessorChain name="harvest" default="true">
>       <processor class="solr.RunUpdateProcessorFactory"/>
>       <processor
> class="org.apache.solr.update.TopicQuestsDocumentProcessFactory">
>         <str name="inputField">hello</str>
>       </processor>
>       <processor class="solr.LogUpdateProcessorFactory"/>
> </updateRequestProcessorChain>
> 
> which runs on a SolrJ set for  http://localhost:8983/solr/
> 
> What might I be missing?
> 
> Many thanks
> Jack

Reply via email to