elastic-query-export icon indicating copy to clipboard operation
elastic-query-export copied to clipboard

Flatten document so nested objects are accessible

Open asenci opened this issue 2 years ago • 0 comments

This PR flattens the search result so the nested objects are accessible via "obj.nestedField" on the fields list.

The original object is retained in the original key for backwards compatibility (will result in a "map:[...]" value in the csv output).

See test cases for examples.

Fixes issue #16

asenci avatar Aug 26 '22 04:08 asenci