Add different comments to the documents because the comment number is one of the sort criteria of the search results.
为文档添加不同的评论,因为评论数量也是对搜索结果进行排序的标准之一。
Two sorting criteria are introduced in this section: sorting by comment number of documents and sorting by last updated date of documents.
这一节介绍两种排序标准:根据文档的评论数量进行排序和根据文档的最后更新日期进行排序。
Now both the comment number properties and the last updated date properties of the documents in the search results are prepared for sorting.
现在,搜索结果中的文档的comment number属性和lastupdateddate属性已经准备好,可以进行排序了。
The comment number of the document can be calculated by counting the entry number in the feed, and the result can be saved into the SearchItem bean.
可以通过计算提要中的条目数来计算文档的评论数量,然后可以将结果保存到SearchItem bean中。
The comment number of the document can be calculated by counting the entry number in the feed, and the result can be saved into the SearchItem bean.
可以通过计算提要中的条目数来计算文档的评论数量,然后可以将结果保存到SearchItem bean中。
应用推荐