gorse-io / gorse

Gorse open source recommender system engine
https://gorse.io
Apache License 2.0
8.31k stars 749 forks source link

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

Closed FantWings closed 3 weeks ago

FantWings commented 3 weeks ago

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

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

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

Issues-translate-bot commented 3 weeks ago

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 commented 3 weeks ago

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

Issues-translate-bot commented 3 weeks ago

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


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