You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I think that browser's column names should be field's path and not field's name.
I have many documents similar to:
{
field1: {
name: "name1",
value: "value2"
},
field2:{
name: "name2",
value: "value2"
},
etc.
And a browser is unusable because only last field is shown.
Columns names should be field1.name, field1.value, field2.name, field2.value instead of name and value.
I hacked it in following way:
in core.js I changed line 342 from
var field_name = metadata.paths[dpath].field_name;
to
var a = path.concat(prop);
a.shift();
a.shift();
var field_name = a.join(".");
I know that's not pretty solution but it works for me.
Maybe it'd be a good addition to elasticsearch-head?
Also I'd like my array type fields to be shown fully, and not only last of them. Is it possible?
The text was updated successfully, but these errors were encountered:
Hello. I think that browser's column names should be field's path and not field's name.
I have many documents similar to:
{
field1: {
name: "name1",
value: "value2"
},
field2:{
name: "name2",
value: "value2"
},
etc.
And a browser is unusable because only last field is shown.
Columns names should be field1.name, field1.value, field2.name, field2.value instead of name and value.
I hacked it in following way:
in core.js I changed line 342 from
var field_name = metadata.paths[dpath].field_name;
to
var a = path.concat(prop);
a.shift();
a.shift();
var field_name = a.join(".");
I know that's not pretty solution but it works for me.
Maybe it'd be a good addition to elasticsearch-head?
Also I'd like my array type fields to be shown fully, and not only last of them. Is it possible?
The text was updated successfully, but these errors were encountered: