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
ltivalued field: doc-id -- Jack Krupansky -Original Message- From: Dotan Cohen Sent: Thursday, May 30, 2013 7:55 AM To: solr-user@lucene.apache.org Subject: Removing a single value from a multiValue field I have a Solr application with a multiValue field 'tags'. All field

Removing a single value from a multiValue field

2013-05-30 Thread Dotan Cohen
I have a Solr application with a multiValue field 'tags'. All fields are indexed in this application. There exists a uniqueKey field 'id' and a '_version_' field. This is running on Solr 4.x. In order to add a tag, the application retrieves the full document, creates a PHP array from the document