Your _version_ does not match.

On Fri, Aug 9, 2013 at 7:08 PM, Bruno René Santos <brunor...@gmail.com>wrote:

> Using the document interface on the Solr admin i try to update the
> following document:
>
> { "responseHeader": { "status": 0, "QTime": 1, "params": { "indent":
> "true",
> "q": "*:*", "_": "1376064413493", "wt": "json" } }, "response": {
> "numFound":
> 1, "start": 0, "docs": [ { "id": "change.me", "author": "change.me", "
> author_s": "change.me", "_version_": 1442907922893897700 } ] } }
>
> with the following change:
>
> {
>         "id": "change.me",
>         "author": {"set":"change.me1"},
>         "_version_": 1442907922893897700
>       }
>
> Which returns the error:
>
> Status: error
> Error: Conflict
> Error:
>
> {
>   "responseHeader": {
>     "status": 409,
>     "QTime": 0
>   },
>   "error": {
>     "msg": "version conflict for change.me
> expected=1442907922893897700 actual=1442907922893897728",
>     "code": 409
>   }
> }
> Why this happens? I am on version 4.4
> ThanxBruno
>
>
> --
> Bruno René Santos
> Lisboa - Portugal
>

Reply via email to