The DefaultIndexHandler handled this correctly, but the ATBlobFileIndexHandler and DexterityItemIndexHandler didn't.
In cases where attributes only consists of index names that don't correspond to a field in the Solr schema, we did end up in a situation where data was None, and was sent to Solr as
the "document" in an atomic update command:
"add": {"doc": null}
This would Solr to respond with a 400, and reject the entire request which could contain other, valid updates.
The
DefaultIndexHandler
handled this correctly, but theATBlobFileIndexHandler
andDexterityItemIndexHandler
didn't.In cases where
attributes
only consists of index names that don't correspond to a field in the Solr schema, we did end up in a situation wheredata
wasNone
, and was sent to Solr as the "document" in an atomic update command:This would Solr to respond with a
400
, and reject the entire request which could contain other, valid updates.Solr Response in the case of this error:
Corresponding log entry: