如何在SearchPortlet中编辑每页搜索结果的结果值?
如何在SearchPortlet中编辑每页搜索结果的结果值?,search,liferay,Search,Liferay,您好,我已将搜索portlet添加到我的门户中。如您所见,每页显示的结果数的默认值为20。我想把这个尺寸改为5号。我该如何更改它?每页显示的默认条目数-增量-可以在portal-ext.properties中配置: ## ## Search Container ## # # Set the default number of entries to display per page. # search.container.page.default.delta=20
您好,我已将搜索portlet添加到我的门户中。如您所见,每页显示的结果数的默认值为20。我想把这个尺寸改为5号。我该如何更改它?每页显示的默认条目数-增量-可以在portal-ext.properties中配置:
##
## Search Container
##
#
# Set the default number of entries to display per page.
#
search.container.page.default.delta=20
其他值得一提的财产:
#
# Set the available values for the number of entries to display per page. An
# empty value, or commenting out the value, will disable delta resizing.
#
# Always include the value specified in the property
# "search.container.page.default.delta", since it is the default page size
# when no delta is specified. The absolute maximum allowed delta is 200.
#
search.container.page.delta.values=5,10,20,30,50,75
#
# Set the maximum number of pages available above and below the currently
# displayed page.
#
search.container.page.iterator.max.pages=25
#
# Set this to false to remove the pagination controls above or below
# results.
#
search.container.show.pagination.top=true
search.container.show.pagination.bottom=true