SET unmapped_fields=\"nullify\";
FROM employees
| LIMIT 1
| KEEP _score
_score
---------------
null
It doesn't make good sense to treat metadata the same way as regular fields, and therefore we also shouldn't nullify it. If a query has a KEEP _id and _id is missing, the user has to add METADATA _id to the FROM; nullifying this just hides a mistake.
Nullifying _score particularly just hides the fact that the query didn't actually perform any search.
It doesn't make good sense to treat metadata the same way as regular fields, and therefore we also shouldn't nullify it. If a query has a
KEEP _idand_idis missing, the user has to addMETADATA _idto theFROM; nullifying this just hides a mistake.Nullifying
_scoreparticularly just hides the fact that the query didn't actually perform any search.