-
Notifications
You must be signed in to change notification settings - Fork 8k
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
[Discover] Sort by fieldname of nested fields. #111923
Comments
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
Just for clarification: Do you mean inside the "Table" tab or inside the "JSON" tab of a document? |
I intended inside the "Table" tab. |
Is this referring to nested fields or multi-fields? What does "order is the same across all documents" mean? |
Referring to nested fields. I'm sorry it's unclear. I attach sample images. These are from "Table" tabs of "Expanded document" in "Discovery" and toggled the details. The displayed order of nested fields are not sorted. ('RXE' comes in the 4th place and again in the 7th place apartly. If sorted, the displayed order might be [ORC.Enter.. ORC.Enter, ORC.Place, RXE.Dispense, RXE.Give.., TQ1.Service.., TQ1.SetId..]) If it is sorted, it will be easier to find a specific field, especially when there is multi-level nesting like this. Thanks |
After having a look at this, I think this would be best implemented on an index pattern, in one of the formatters. Going to pass this on to @elastic/kibana-app-services for their opinion on this. |
When expanding a document in Discover, non-nested fields are sorted by their field names.
When toggling the field details of a nested field, however, the fields in the nested field are not sorted by their names. Since the order is the same across all documents, it is assumed to reflect some internal order.
It would be helpful to find a specific field if the fields in nested field were sorted and displayed.
The text was updated successfully, but these errors were encountered: