Question
IBM
IBM
CN
IBM
Posted: Feb 1, 2024
Last activity: Feb 12, 2024
Last activity: 12 Feb 2024 3:58 EST
Closed
Solved
Any new update on an old question "Sort Order in work search results"
https://support.pega.com/question/sort-order-work-search-results?
Hello, I met same problem as in question in above link.
As it's a question years ago, may I know any new message now on this question (Now is Pega 8.8.3)?
I would like to get latest records per the pxupdatedatetime.
***Edited by Moderator Rupashree to add Capability tags***
Hi @MaxonL16591286
Search results are sorted by the relevancy of each document to the search query/text provided - best matching entries should be returned on top / first page. Unfortunately, there is no way to change it in Infinity 8.8 unless you are willing to re-sort documents in memory, however, this means that you will be sorting only those documents which has been already identified as best matches within your pagination setting constraints.
In Infinity '23 we introduced a new setting on Search API which can be used to change sorting and instead of relevancy, use selected properties. It is possible to change default (or custom) Search Gadget logic to use that feature and sort results by any of the indexable properties which are part of the search configuration
Regards,
Pawel