You can use the Atomic Update feature, however the actual modification of the 
data is probably going to need to happen OUTSIDE of Solr.

Some platforms have a concept of “mutations” where you are changing the data in 
the platform, but in general Solr doesn’t.  

https://solr.apache.org/guide/8_6/updating-parts-of-documents.html#in-place-updates
 
<https://solr.apache.org/guide/8_6/updating-parts-of-documents.html#in-place-updates>



> On Jun 2, 2021, at 10:40 AM, Roopesh Uniyal <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> Hello All,
> 
> I have 100 rows in my solr index and one of the column fields is "URL".
> All of its values start with \\nas like *url=\\nas\image\123.jpg*
> How can I update only the first word from the url? I need to update it from
> \\nas\.. to \\FS\.. and I want to update for all 100 rows.
> 
> Thanks,
> Roopesh

_______________________
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | 
http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | 
My Free/Busy <http://tinyurl.com/eric-cal>  
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed 
<https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
    
This e-mail and all contents, including attachments, is considered to be 
Company Confidential unless explicitly stated otherwise, regardless of whether 
attachments are marked as such.

Reply via email to