The need arises because the only way to differentiate between a set of commands 
and JSON document is the  command.json parameter. This is why it is necessary 
so the payload can be interpreted as a command instead.
________________________________
From: Shawn Heisey <elyog...@elyograg.org>
Sent: Thursday, January 5, 2023 5:48 PM
To: users@solr.apache.org <users@solr.apache.org>
Subject: Re: Setting a parameter from a update script processor script

On 1/5/23 17: 09, Matthew Castrigno wrote: > The documentation show how to get 
a parameter but I cannot see where I can find out how to set a parameter in my 
update script processor. > https: //urldefense. com/v3/__https: //solr. apache. 
org/guide/solr/latest/configuration-guide/script-update-processor. 
html*javascript__;Iw!!FkC3_z_N!PlPO9Gv0iazBOAnTE5PibThKXKwFRLK5sV10M8ynF1IjzuJepOM2kzltObjKvh22SNBd3jp7J4PTTMrANA$
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside the St. Luke's email system.

ZjQcmQRYFpfptBannerEnd

On 1/5/23 17:09, Matthew Castrigno wrote:
> The documentation show how to get a parameter but I cannot see where I can 
> find out how to set a parameter in my update script processor.
> https://urldefense.com/v3/__https://solr.apache.org/guide/solr/latest/configuration-guide/script-update-processor.html*javascript__;Iw!!FkC3_z_N!PlPO9Gv0iazBOAnTE5PibThKXKwFRLK5sV10M8ynF1IjzuJepOM2kzltObjKvh22SNBd3jp7J4PTTMrANA$
>
> Does anyone know where I can find this information?
> Thank you for any insights.

 From what I can tell, parameters are a way to get arbitrary information
from solrconfig.xml to the processor ... I don't think that
communication can flow the other direction, so there should be no need
to set a parameter inside a processor.

Anyone else have a comment on it?

Thanks,
Shawn


----------------------------------------------------------------------
"This message is intended for the use of the person or entity to which it is 
addressed and may contain information that is confidential or privileged, the 
disclosure of which is governed by applicable law. If the reader of this 
message is not the intended recipient, you are hereby notified that any 
dissemination, distribution, or copying of this information is strictly 
prohibited. If you have received this message by error, please notify us 
immediately and destroy the related message."

Reply via email to