Conditionally Remove or Add a Field
Hello, How do you conditionally remove (or add) a field to a document? E.g., I have a mapper: Expression → Target Path 20 → $field1 10 → $field2 ‘’ → $field3 null → $field4 So I now have: [ { ‘field1’:20 ,‘field2’:10 ,‘field3’:‘’ ,‘field4’:null } ] N...