Coveo Sorting using a custom field in descending order
I'm trying to Sort the Coveo results in descending order using a custom date field. But currently if i use Sortfield Query parameter i'm not getting the sorted result. Is there anything that should be added to the Config file or anything in specific to be done for the sorting to work. I'm using Coveo free edition and not using Coveo's components. Please help
When specifing a sort field you must also pass
FieldDescending for the
sortCriteria parameter (see https://developers.coveo.com/display/SearchREST/Query+Parameters#QueryParameters-sortCriteria).
Note that an upcoming version will also support passing
@field ascending through the