Java api for nested field sorting and normal field sorting


#1

Hi All,

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.

Thanks,
Ram Prasad G


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.