Thanks for the inputs Walter.

I was just wondering if there is a way to "replace" part of field value in
Solr. That would have helped me with the hassle of restoring DB from tapes,
updating DB, and then rebuilding full solr index.

Thanks,
Roopesh

On Wed, Jun 2, 2021 at 5:49 PM Walter Underwood <[email protected]>
wrote:

> You will need access to the original data in order to change the schema or
> upgrade to a new major version. I recommend starting the work to get access
> to the original database.
>
> If your schema is set up to allow it, you may be able to use partial
> updates.
>
> https://solr.apache.org/guide/8_8/updating-parts-of-documents.html
>
> wunder
> Walter Underwood
> [email protected]
> http://observer.wunderwood.org/  (my blog)
>
> On Jun 2, 2021, at 2:07 PM, Roopesh Uniyal <[email protected]>
> wrote:
>
> In production, I have 300 million records. Secondly, I don't have access
> to the original database.
> So, I need to run this update in the current prod solr index for all rows.
>
> On Wed, Jun 2, 2021 at 12:29 PM Walter Underwood <[email protected]>
> wrote:
>
>> Reload all the content, especially with only 100 documents.
>>
>> Note, URLs do not use backslash. They use regular slashes. So your URL
>> path should probably be “/nas/image/23.jpg"
>>
>> wunder
>> Walter Underwood
>> [email protected]
>> http://observer.wunderwood.org/  (my blog)
>>
>> > On Jun 2, 2021, at 7:19 AM, Roopesh Uniyal <[email protected]>
>> wrote:
>> >
>> > Hello All,
>> >
>> > I have 100 rows in my solr index and one of the column field is "URL".
>> >
>> > All of it values starts 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\..
>> >
>> > Thanks,
>> > Roopesh
>>
>>
>

Reply via email to