Hi Shawn, Schema version is 1.6 and Solr version is 7.5.
While creating a document , I have provide the required information to field " category". Now, I would like to update document for other set of fields using Atomic Update but not category field. While performing atomic update ,exception caught with "Missing required field on category". Thanks Rajeswari -----Original Message----- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Tuesday, November 20, 2018 8:38 PM To: solr-user@lucene.apache.org Subject: Re: Error:Missing Required Fields for Atomic Updates On 11/19/2018 9:19 PM, Rajeswari Kolluri wrote: > Below is part of schema , entityid is my unique id field. Getting > exception missing required field for "category" during atomic updates. <snip> > <field name="category" type="string" indexed="true" > stored="false" required="true" docValues="true" /> Your category field is not stored. And it's required. It does have docValues, but unless your Solr version and schema version are new enough, this definition will make the field unsuitable for atomic updates. What is your Solr version, and what version do you have declared in your schema? (newest schema version that I know about is 1.6) This is the information about what's needed for Atomic Updates to work: https://urldefense.proofpoint.com/v2/url?u=https-3A__lucene.apache.org_solr_guide_7-5F5_updating-2Dparts-2Dof-2Ddocuments.html-23field-2Dstorage&d=DwIDaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=HEBHcZdIeDHAvl73r3r2wMPqU2fuBMQEqkrJDiOkgU0&m=E0eYGosr2K2uq4yr-Kk3r1d49jU0cFLhakbRohIP0rQ&s=o3x6BbYYdEkVFyvQKF3ZIZlwV5iBh3J3lsskRzt--S8&e= That documentation is not as specific as it needs to be when it says that the field can have docValues enabled to meet the requirements. You must also have useDocValuesAsStored enabled. This is enabled by default if your schema version is 1.6 or later ... which is the schema version that examples are set to in the later releases of Solr. But if your schema was designed for an earlier version of Solr, its version probably may be something earlier than 1.6. The minimum Solr version required to be able to use docValues as stored is 5.5.0. If you have a Solr version before 5.5.0, docValues will not work for atomic updates at all. Thanks, Shawn