Re: Updating an index

2014-11-07 Thread andrey prokopenko
I echo that. Atomic update is merely a decoration over the same delete/insert pattern, where Solr processor inplace retrieves all the stored fields of the the document, updates the field, then checks _version_ field prior to update and if it was correct, deletes, then insert new version of the docu

Re: Updating an index

2014-11-06 Thread Erick Erickson
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, wrote: > Hello, > > I have [mist

Updating an index

2014-11-06 Thread phiroc
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 gen