Re: Removing a single value from a multiValue field

2013-06-03 Thread Dotan Cohen
On Thu, May 30, 2013 at 5:01 PM, Jack Krupansky wrote: > You gave an XML example, so I assumed you were working with XML! > Right, I did give the output as XML. I find XML to be a great document markup language, but a terrible command format! Mostly, due to (mis-)use of the attributes. > In JSO

Re: Removing a single value from a multiValue field

2013-05-30 Thread Jack Krupansky
is covered in the book, separate chapters for XML and JSON, each with dozens of examples like this. -- Jack Krupansky -Original Message- From: Dotan Cohen Sent: Thursday, May 30, 2013 9:36 AM To: solr-user@lucene.apache.org Subject: Re: Removing a single value from a multiValue field

Re: Removing a single value from a multiValue field

2013-05-30 Thread Dotan Cohen
On Thu, May 30, 2013 at 3:42 PM, Jack Krupansky wrote: > First, you cannot do any internal editing of a multi-valued list, other > than: > > 1. Replace the entire list. > 2. Add values on to the end of the list. > Thank you. I meant that I am actually editing the entire document. Reading it, chan

Re: Removing a single value from a multiValue field

2013-05-30 Thread Jack Krupansky
First, you cannot do any internal editing of a multi-valued list, other than: 1. Replace the entire list. 2. Add values on to the end of the list. But you can do both of those operations on a single multivalued field with "atomic update" without reading and writing the entire document. Secon