I am new to ES with Java API. Please help me on the below requirement.
In my index I have a combination of fields like, nested fields and normal fields. I need to do sorting on these fields dynamically based on the given field. When I am doing normal sorting using FieldSortBuilder API its working fine for normal fields, but with nested fields its failing, later I search in ES blog and came to know that we need to write separate API for nested fields, but this is not working for normal fields.
Please help me on this issue.
Ram Prasad G