Records in my index have the following structure (users indicate their programming skills and experience in years):
Search is performed on skills.name. I would like to be able to sort by corresponding skills.years. For example, if two users both know React, I would sort by descending years and find the more experienced of the two this way.
I’ve spent quite some time trying to find the solution in the documentation with no luck. Is this use case even possible and if so, could you please direct me in the right direction.