Re: how to use multiple update process chain?

2020-04-13 Thread Alexandre Rafalovitch
You can only have one chain at the time.

You can, however, create your custom URP chain to contain
configuration from all three.

Or, if you do use multiple chains that are configured similarly, you
can pull each URP into its own definition and then mix and match then
either in the chain or even per request (or in request defaults):
https://lucene.apache.org/solr/guide/8_5/update-request-processors.html#configuring-individual-processors-as-top-level-plugins

Regards,
   Alex.

On Sat, 11 Apr 2020 at 15:16, derrick cui
 wrote:
>
> Hi,
> I need to do three tasks.1. add-unkown-fields-to-the-schema2. create 
> composite key3. remove duplicate for specified field
> I defined update.chain as below, but only the first one works, the others 
> don't work. please help. thanks
> 
>   
> add-unknown-fields-to-the-schema
> composite-id
> deduplicateTaxonomy
>   
> 
>  default="${update.autoCreateFields:true}"
>  
> processor="uuid,remove-blank,field-name-mutating,parse-boolean,parse-long,parse-double,parse-date,add-schema-fields">
>
>   
>   
> 
> 
>   
> _gl_collection
> _gl_id
>   
>   
> id
> _gl_id
>   
>   
> _gl_id
> -
>   
>   
>   
> 
> 
>   
> _gl_dp_.*
> _gl_ss_score_.*
>   
>   
>   
> 
> thanks
>


how to use multiple update process chain?

2020-04-11 Thread derrick cui
Hi, 
I need to do three tasks.1. add-unkown-fields-to-the-schema2. create composite 
key3. remove duplicate for specified field
I defined update.chain as below, but only the first one works, the others don't 
work. please help. thanks

  
add-unknown-fields-to-the-schema
composite-id
deduplicateTaxonomy
  


   
  
  


  
_gl_collection
_gl_id
  
  
id
_gl_id
  
  
_gl_id
-
  
  
  


  
_gl_dp_.*
_gl_ss_score_.*
  
  
  

thanks