Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取推荐只有大约100条数据 #845

Closed
FantWings opened this issue Jun 9, 2024 · 3 comments
Closed

获取推荐只有大约100条数据 #845

FantWings opened this issue Jun 9, 2024 · 3 comments

Comments

@FantWings
Copy link

使用GoSDK,版本v0.5.0-alpha.0.20240325130705-3cfb6b213351,服务端版本v0.4.15

无论是GetItemPopularWithCategory,还是GetItemRecommendWithCategory,通过分页的方式获取最多只有100条左右的数据(未准确估算)

实际item数有919条,是不是没有label的item不会被推荐?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Using GoSDK, version v0.5.0-alpha.0.20240325130705-3cfb6b213351, server version v0.4.15

Whether it is GetItemPopularWithCategory or GetItemRecommendWithCategory, only about 100 pieces of data can be obtained through paging (not accurately estimated)

The actual number of items is 919. Does it mean that items without labels will not be recommended?

@FantWings
Copy link
Author

已解决,配置文件中的cache_size = 100 调大即可

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Solved, just increase cache_size = 100 in the configuration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants