lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl / Cominvent <jan....@cominvent.com>
Subject Re: can i have more update processors with solr
Date Fri, 01 Oct 2010 09:47:18 GMT
I think the parameter name is confusing. I have proposed renaming it to processor.chain: 
https://issues.apache.org/jira/browse/SOLR-2105

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

On 30. sep. 2010, at 22.25, Markus Jelsma wrote:

> Almost, you can define a updateRequestProcessorChain that houses multiple update processors.
> 
>  
> 
>   <updateRequestProcessorChain name="dedupe">
>     <processor class="org.apache.solr.update.processor.SignatureUpdateProcessorFactory">
>       <bool name="enabled">true</bool>
>       <str name="signatureField">title_signature</str>
>       <bool name="overwriteDupes">true</bool>
>       <str name="fields">title</str>
>       <str name="signatureClass">org.apache.solr.update.processor.Lookup3Signature</str>
>     </processor>
> 
>     <processor class="org.apache.solr.update.processor.SignatureUpdateProcessorFactory">
>       <bool name="enabled">true</bool>
>       <str name="signatureField">content_signature</str>
>       <bool name="overwriteDupes">true</bool>
>       <str name="fields">content</str>
>       <str name="signatureClass">org.apache.solr.update.processor.TextProfileSignature</str>
>     </processor>
>      <processor class="solr.LogUpdateProcessorFactory" />
>     <processor class="solr.RunUpdateProcessorFactory" />
>   </updateRequestProcessorChain>
>  
> -----Original message-----
> From: Dilshod Temirkhodjaev <tdilshod@gmail.com>
> Sent: Thu 30-09-2010 17:12
> To: solr-user@lucene.apache.org; 
> Subject: can i have more update processors with solr
> 
> I don't know if this is bug or not, but when i'm writing this in
> solrconfig.xml
> 
> <requestHandler name="/update" class="solr.XmlUpdateRequestHandler">
>  <lst name="defaults">
>    <str name="update.processor">CustomRank</str>
>    <str name="update.processor">dedupe</str>
>  </lst>
> </requestHandler>
> 
> only first update.processor works, why second is not working?


Mime
View raw message