elastic-query-export
elastic-query-export copied to clipboard
Flatten document so nested objects are accessible
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