简体   繁体   中英

How to implement 'sort by popularity' in AWS CloudSearch?

We have a requirement to implement 'Sort by popularity' in AWS CloudSearch. I didn't find any option. Please share your input if someone has any idea.

关于排序文档给出了如何在排序顺序中使用表达式的示例 - 因此您可以在索引中的每条记录上都有一个字段,即“流行度”(文档讨论了“排名”-例如 1 表示最受欢迎,2 表示第二受欢迎,等等)然后以某种方式将其合并到您的排序顺序中,并通过某种加权结合相关性_score

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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