On 2023-04-03 8:30 PM, Cesar Delgado wrote:
I don’t mean to be a contrarian but the error message isn’t clear. I believe it would be better to say the field is missing in the nested doc the? I believe error messages should be clear and actionable. In my case it was not clear as not all my documents are nested so this error was sporadic and confusing. Having a better idea on where to look would be very helpful.
It's hard to know if Solr can parse them in way that could result in a more meaningful error message. It seems the only field you have to identify the document is "account_acct" and it's not present in the document that has the error. So what do you expect: "missing required field 'account_acct' in the document that is missing the required field 'account_acct'"?
Dima
