Hi Jack,

There was a bug for this fixed for 4.1 - which version are you on? I
remember this b/c I was on 4.0 and had to upgrade for this exact
reason.

https://issues.apache.org/jira/browse/SOLR-4134

Tim

On Wed, Feb 20, 2013 at 9:16 PM, Jack Park <jackp...@topicquests.org> wrote:
> From what I can read about partial updates, it will only work for
> singleton fields where you can set them to something else, or
> multi-valued fields where you can add something. I am testing on 4.1
>
> I ran some tests to prove to me that you cannot do anything else to a
> multi-valued field, like remove a value and do a partial update on the
> whole list. It flattens the result to a comma delimited String when I
> remove a value, from
>        "details": [
>           "here & there",
>           "Hello there",
>           "Oh Fudge"
>         ],
> to this
>    "details": [
>           "[here & there, Oh Fudge]"
>         ],
>
> Does this meant that I must remove the entire document and re-index it?
>
> Many thanks in advance
> Jack

Reply via email to