Getting error with partial update in SOLR7

Sreenivas Pinninti
Sreenivas Pinninti used Ask the Experts™
on
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

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Application Consultant
Commented:
Hi Sreenivas,

Is it possible to share your  JSON input data?

Author

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

Input:

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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial