Hi Rahul

Below is part of schema ,   entityid is my unique id field.  Getting exception 
missing required field for  "category"  during atomic updates.


<uniqueKey>entityid</uniqueKey>
<field name="entityid" type="string" indexed="true" stored="true" 
required="true" multiValued="false" />
    <field name="name" type="text_general" indexed="true" stored="true" 
required="false" multiValued="false" />
    <field name="description" type="text_general" indexed="true" stored="true" 
required="false" multiValued="false" />
    <field name="vendorName" type="text_general" indexed="true" stored="true" 
required="false" multiValued="false" />
    <field name="modelNumber" type="text_general" indexed="true" stored="true" 
required="false" multiValued="false" />
    <field name="partNumber" type="text_general" indexed="true" stored="true" 
required="false" multiValued="false" />
    <field name="serialNumber" type="text_general" indexed="true" stored="true" 
required="false" multiValued="false" />
    <field name="category" type="string" indexed="true" stored="false" 
required="true" docValues="true" />
    <field name="place" type="text_general" indexed="true" stored="true" 
required="false" multiValued="true" />



Thanks
Rajeswari

-----Original Message-----
From: Rahul Goswami [mailto:rahul196...@gmail.com] 
Sent: Tuesday, November 20, 2018 9:33 AM
To: solr-user@lucene.apache.org
Subject: Re: Error:Missing Required Fields for Atomic Updates

What’s your update query?

You need to provide the unique id field of the document you are updating.

Rahul

On Mon, Nov 19, 2018 at 10:58 PM Rajeswari Kolluri < 
rajeswari.koll...@oracle.com> wrote:

> Hi,
>
>
>
>
>
> Using Solr 7.5.0.  While performing atomic updates on a document  on 
> Solr Cloud using SolJ  getting exceptions "Missing Required Field".
>
>
>
> Please let me know  the solution, would not want to update the 
> required fields during atomic updates.
>
>
>
>
>
> Thanks
>
> Rajeswari
>

Reply via email to