简体   繁体   English

GSA对所有页面进行排序

[英]GSA sorting over all pages

Does Google search provide sorting option on metadata. Google搜索是否提供对元数据的排序选项。 I have requirement that suggest to sort contents on there popularity and place them using pagination. 我有建议,建议对热门内容进行排序,然后使用分页进行放置。 We are pushing download/view count on each content to GSA as metadata. 我们正在将每个内容的下载/观看次数作为元数据推送到GSA。

All the results that are returned in the search result are placed in order by download/view count, so that the first page would show the most used content and then in following pages we would start to see the less frequently used content. 搜索结果中返回的所有结果均按下载/查看次数进行排序,因此第一页将显示使用最多的内容,然后在随后的页面中,我们将开始查看使用频率较低的内容。

Yes it is indeed possible to sort by meta-data in GSA 是的,确实可以在GSA中按元数据进行排序

Refer https://www.google.com/support/enterprise/static/gsa/docs/admin/72/gsa_doc_set/xml_reference/request_format.html#1083224 请参阅https://www.google.com/support/enterprise/static/gsa/docs/admin/72/gsa_doc_set/xml_reference/request_format.html#1083224

Use sort=meta:metaname parameter to do this. 使用sort = meta:metaname参数来执行此操作。

Bumping the old thread since the previous answer was incorrect. 由于先前的答案是不正确的,所以跳出旧线程。

nv185001, nv185001,

Based upon the documentation the GSA will only perform a sort on content relevance and date. 根据文档 ,GSA只会对内容的相关性和日期进行排序。 You may attempt to develop a OneBox that queries a source for the top downloaded content based upon the search query term. 您可以尝试开发一个OneBox,该OneBox会根据搜索查询词查询来源中下载量最高的内容。 This would at least incorporate the desired results into your FrontEnd. 这样至少可以将所需的结果合并到您的FrontEnd中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM