Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display arrays properly in the results #53

Open
mobz opened this issue Feb 20, 2013 · 4 comments
Open

Display arrays properly in the results #53

mobz opened this issue Feb 20, 2013 · 4 comments

Comments

@mobz
Copy link
Owner

mobz commented Feb 20, 2013

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
Copy link
Owner Author

mobz commented Feb 20, 2013

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

@marcosscriven
Copy link

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.

@yzhang226
Copy link

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.

@Luxiyalu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants