Re: Solr 4:How to call a updateRequestProcessorChain during the /dataimport?

2012-11-20 Thread Chris Hostetter
: Following is the my dataimport handler, which is already having
: 'update.chain'.  I think I can't give more than one update.chain in this

Correct, you can only specify a single chain when doing an update.

You have to decide which parts of your existing "dedupe" chain you want to 
use inconjunction with your "bodychain" and in what order and make a 
single chain representing that logic.

based on what your body chain looks like (no RunUpdateProcessor or 
LogUpdateProcessor) i'm guessing you don't really need that to be it's own 
chain at all -- just add those processors to your dedupe chain.

: 
: 
:   dedupe  
:   data-config.xml  
: 
:   

-Hoss


Re: Solr 4:How to call a updateRequestProcessorChain during the /dataimport?

2012-11-17 Thread Erick Erickson
I would _guess_ (but haven't done this with DIH) that simply putting
the body.chain in the updatehandler ()
would do what you want.

But that's purely a guess at  this point on my part.

Anyone want to correct me?

Best
Erick


On Fri, Nov 16, 2012 at 4:50 PM, srinalluri  wrote:

> I have a new updateRequestProcessorChain called 'bodychain'.  (Please note
> CountFieldValuesUpdateProcessorFactory is new in Solr 4). I want to call
> this bodychain during the dataimport.
>
> 
>
>  body
>  body_count
>
>
>  body_count
>
>
>  body_count
>  0
>
>  
>
> Following is the my dataimport handler, which is already having
> 'update.chain'.  I think I can't give more than one update.chain in this
> handler. When can I add 'bodychain'?
>
>  class="org.apache.solr.handler.dataimport.DataImportHandler">
> 
>   dedupe
>       data-config.xml
> 
>   
>
> thanks
> Srini
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-4-How-to-call-a-updateRequestProcessorChain-during-the-dataimport-tp4020812.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Solr 4:How to call a updateRequestProcessorChain during the /dataimport?

2012-11-16 Thread srinalluri
I have a new updateRequestProcessorChain called 'bodychain'.  (Please note
CountFieldValuesUpdateProcessorFactory is new in Solr 4). I want to call
this bodychain during the dataimport.


   
 body
 body_count
   
   
 body_count
   
   
 body_count
 0
   
 

Following is the my dataimport handler, which is already having
'update.chain'.  I think I can't give more than one update.chain in this
handler. When can I add 'bodychain'?



  dedupe  
  data-config.xml  

  

thanks
Srini



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-4-How-to-call-a-updateRequestProcessorChain-during-the-dataimport-tp4020812.html
Sent from the Solr - User mailing list archive at Nabble.com.