On 1/26/22 07:24, Eric Pugh wrote:
Shawn, should having a dynamic field called “*” trigger either a warning in the 
logs or maybe even be forbidden?   Is there a use case for having “*”?

While I think that it's a bad idea to have a dynamic field entry that matches everything, I don't want to limit what people can do.  I don't know that we should forbid it, but a warning that it could produce unexpected behavior might be a good idea.

I think that the reason the wildcard field entry caused problems in this situation is because the definition caused the _root_ field to not be indexed.  I'm not familiar with nested documents enough to be sure about this, but I think when Solr sees a _root_ field in a doc and therefore enables code related to nested docs, it requires that field to be indexed.

Thanks,
Shawn

Reply via email to