-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>enhancementhelp wantedadoptmeadoptme
Description
DocLookup has several issues:
- containsKey only looks at the mappings regardless of the current document
- get throws an exception if the field is not mapped (should it return null instead?)
- get returns an empty list instead of
nullif the document has no values (while fielddata has the ability to know if a given field exists in a particular document)
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>enhancementhelp wantedadoptmeadoptme