我想在默认Liferay搜索中添加排序功能,有人可以建议我如何实现这一点吗? (就像让用户选择范围一样配置。)
我已经在使用SearchBar片段和SearchResult片段。
在SearchBar片段中,我添加了两个选择框,一个是orderColumn,另一个是orderType(asc,desc),还写了一个IndexerPostProcessor。
与7.2 Sort widget一样,我想在7.1中实现,我尝试了很多次,但仍然无法正常工作。
const auto tmp
Liferay liferay-dxp-7.1.10.2-sp2
Elasticsearch 6.50。
感谢您的帮助!