On 3/30/2021 4:07 AM, Daniel Exner wrote:
When updating some different field, like say "stock" for a document using partial Update, *all* enum Fields with stored=false vanish from the document.

There is no error or Warning about this somewhere in Error log.

If you have fields that are not stored, and do not have docValues with the flag to use docValues as stored, you will lose those fields when you do an atomic update. No error is logged when this happens because the behavior isn't an error. It's inherent to the way that the Atomic Update feature works.

The documentation states this requirement pretty clearly, though it doesn't mention the need for useDocValuesAsStored.

https://solr.apache.org/guide/8_8/updating-parts-of-documents.html#field-storage

Can you share your full schema? You will need to either paste the whole thing into the email text or put it on an info-sharing site and give us a link to it. If you try attaching a file to an email, the mailing list will most likely remove the attachment before any of us receive the email.

Thanks,
Shawn

Reply via email to