Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在SearchPortlet中编辑每页搜索结果的结果值?_Search_Liferay - Fatal编程技术网

如何在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