I am working in e-health project and we have a lot of clinical data (JSON format) stored in our data base.
We want to do some research in these data, that’s why we think that Elastic Search tool can help us in this project.
I did some tests using kibana and ES (current version). Unfortunately, the results are not helpful. I need your help to be sure that I am using ES correctly.
In fact, I created 2 new indices (for 2 patients) containing some nested fields. For example, a patient has different consultations (nested field). Each consultation can have different MRI (nested field). And finally each MRI has a volume and a date field (simple fields).
Then I created a data view based on this index pattern.
In Discover Analytics, I want to display for example all MRI dates for all MRI volumes equal to 15.
What I did:
- In KQL syntax, I put consultation.MRI:{ volumeFlair : 15 } and I selected consultation.MRI.date. In Field statistics, I have 1hit result but I can't display the selected field (consultation.MRI.date). It is noted that Analysis is not available for this field.
If my example is not clear, we can take the example used in ES website (https://www.elastic.co/guide/en/elasticsearch/reference/8.6/nested.html)
In this example, I want to display the user.first field when user.last equal to Smith. I should have John as a result.
However, as the user is a nested field, I can't do this analysis!
As I understood, analysis is not available for nested field. Is it right?
In this case, I can’t analyse nested fields which it is a problem for our projet.
Do you have an idea about this problem and how to fix it?