AntonShuvaev / elasticsearch4idea

Elasticsearch Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/14512-elasticsearch
59 stars 8 forks source link

Change export csv separator #56

Closed SosthenG closed 2 years ago

SosthenG commented 2 years ago

Hi,

I tried to export some documents with an array field inside but the commas used to separate array values in a field are messing with the csv formatting, making the export of documents with array fields unusable. Considering this I think the default csv separator should not be a comma and adding the possibility to change it manually would be nice.

Thanks!

AntonShuvaev commented 2 years ago

Hi,

Thanks for reporting the issue. I have added the escaping of a comma in an array by wrapping the value in double quotes. Also, added Delimiter-separated values (DSV) extractor where you can specify the delimiter.