Link to home
Start Free TrialLog in
Avatar of Sreenivas Pinninti
Sreenivas Pinninti

asked on

Getting error with partial update in SOLR7

Our application built with C# and SOLR search.

One of my requirement to implement partial updates with SOLR.I am getting an error while posting JSON data into SOLR server.

Error Response from SOLR API:

{
    "responseHeader": {
        "status": 400,
        "QTime": 30
    },
    "error": {
        "metadata": [
            "error-class",
            "org.apache.solr.common.SolrException",
            "root-error-class",
            "org.apache.solr.common.SolrException"
        ],
        "msg": "Atomic document updates are not supported unless <updateLog/> is configured",
        "code": 400
    }
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sreenivas Pinninti
Sreenivas Pinninti

ASKER

URL:http://esv-ddb-10:30613/solr/Item/update?commit=true

Input:

{"add":{"doc":{"Id":"bc0ddc8c-ef3c-44df-b885-a9fa00d2e115","InStock":{"set":15}}}}