elasticsearch-head icon indicating copy to clipboard operation
elasticsearch-head copied to clipboard

Display arrays properly in the results

Open mobz opened this issue 12 years ago • 4 comments

It is better to see something representing the array than nothing at all.

In the Browser or Search Query tabs, complex types from the JSON such as arrays are not rendered at all in the result table.

When the code detects arrays, the easiest way is to concatenate all the values as a coma-separated list and render this as a string. More elegant is to create a cell per element and span all the element cells them over a bigger cell representing the whole array.

mobz avatar Feb 20 '13 05:02 mobz

Copied from original issue Aconex/elasticsearch-head#30 by @alexis779

mobz avatar Feb 20 '13 05:02 mobz

Just searching for open issues with the keyword 'browser' to suggest incorporating something like http://json2table.com/

I just copied and pasted a whole search result into it, and it seemed to do something quite sane.

EDIT - There's no info on the site itself where this comes from, but I've emailed the owner listed on the DNS record.

marcosscriven avatar Jul 30 '15 10:07 marcosscriven

yes, this issue occurs when any field is array , if use kibana, this array field can be seen. can we think one way to solve this issue.

yzhang226 avatar Mar 09 '16 12:03 yzhang226

Still an issue. Doesn't look like repo is maintained anymore though.

Luxiyalu avatar Apr 21 '22 20:04 Luxiyalu