v0.3.1
版本发布时间: 2021-12-29 21:35:57
gorse-io/gorse最新发布版本:v0.4.15(2024-01-10 12:44:45)
Feature
- Update latest items in real-time on the server node (#342).
- Update categorized popular items in real-time on the server node (#343).
Performance
- Optimize copier by skipping equal maps and reusing slice space (#337).
- Add data skipping indices for ClickHouse (#349).
- Limit the number feedback used in fallback item-based similarity recommendation (#350).
Fix
- Fix concurrent map read in configuration (#338 authorized by @winwill2012, #347).
- Fix worker failure when there is no feedback (#340).
- Fix inefficient implementation of hidden items (#341).
Upgrade Guide
- Configuration: A new option has been added to limit the number feedback used in fallback item-based similarity recommendation. Larger value means more accurate recommendation but spend more time.
# The number of feedback used in fallback item-based similar recommendation. The default values is 10.
num_feedback_fallback_item_based = 20
- ClickHouse: Add indices manually if using ClickHouse as data storage.
ALTER TABLE feedback ADD INDEX user_index user_id TYPE bloom_filter(0.01) GRANULARITY 1;
ALTER TABLE feedback ADD INDEX item_index item_id TYPE bloom_filter(0.01) GRANULARITY 1;
- Redis: Remove incompatible stale cache.
redis-cli KEYS "popular_items*" | xargs redis-cli DEL
redis-cli KEYS "latest_items*" | xargs redis-cli DEL
1、 gorse_darwin_amd64.zip 44.62MB
2、 gorse_darwin_arm64.zip 42.29MB
3、 gorse_linux_amd64.zip 45.39MB
4、 gorse_linux_arm64.zip 41.28MB
5、 gorse_windows_amd64.zip 45.67MB