No way that I know of, re-indexing is in order.

Solr does not "update in place", you have to re-add the document. Well,
AtomicUpdates work but iff all fields are stored. And it still wouldn't
be a single Solr command.

Best,
Erick

On Thu, Nov 6, 2014 at 8:20 AM,  <phi...@free.fr> wrote:
> Hello,
>
> I have [mistakenly] created a SOLR index in which the document IDs contain 
> URIs such as file:///Z:/1933/01/1933_01.png .
>
> In a single SOLR update command, how can I:
>
> - copy the contents of each document's id field to a new field called 'url', 
> after replacing 'Z:' by 'Y:'
>
> - make SOLR generate a new random Id for each document
>
> Many thanks.
>
> Philippe
>
>

Reply via email to