Changes for page Solr Search Macros
Last modified by Administrator on 2025/09/06 09:59
From version
4.1


edited by Administrator
on 2024/02/03 10:14
on 2024/02/03 10:14
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/15.10.5]
To version
6.1

edited by Administrator
on 2025/09/06 09:59
on 2025/09/06 09:59
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/16.10.11]
Summary
Details
- Page properties
-
- Content
-
... ... @@ -798,10 +798,7 @@ 798 798 #end 799 799 ## 800 800 ## Pagination 801 - #set ($rows = $numbertool.toNumber($request.rows).intValue()) 802 - #if ("$!rows" == '') 803 - #set ($rows = 10) 804 - #end 801 + #getAndValidateQueryLimitFromRequest('rows', 10, $rows) 805 805 #set ($start = $numbertool.toNumber($request.firstIndex).intValue()) 806 806 #if ("$!start" == '') 807 807 #set ($start = 0) ... ... @@ -913,8 +913,7 @@ 913 913 ## 914 914 ## Output the feed. 915 915 ## 916 - #set ($discard = $response.setContentType('application/rss+xml')) 917 - $xwiki.feed.getFeedOutput($feed, 'rss_2.0') 913 + #rawResponse($xwiki.feed.getFeedOutput($feed, 'rss_2.0'), 'application/rss+xml') 918 918 #end 919 919 920 920 #macro (handleSolrSearchRequest)