ES sort and order

Dear team,

I have a doubt regarding the search using ElasticSearch, I want to sort the search result by the giving word firstly then the subwords.

For example when I search for the word "Patentability", my ES return a list of 22445 documents contains "patent", "Patentability" and "Patentable". It is better to have the list filtered by the following order:
documents contain "Patentability" then documents contain "patent" then those contain "Patentable"...

Is that feasible using ES queries?

Thank you & Best regards.

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