Skip to content

Gorse v0.3.4

Choose a tag to compare

@zhenghaoz zhenghaoz released this 13 Mar 04:12
63cfc78

Features

  • Support set check recommend period (#384).
  • Support replacement in the recommendation (#385).
  • Support DNS SRV record lookup for MongoDB (#386, authorized by @pranav377).
  • Support set clock error in the cluster (#397).

Fix

  • Import and export items with hidden flags and categories (#383).
  • Hide hidden items in the latest items, popular items, and item neighbors (#393).
  • Fix inaccurate representation of timestamps in float32 (#394).
  • Fix potential Redis memory leak (#395).

Upgrade Guide

  • Configuration: Replacement has been supported in the configuration, as well as check_recommend_period and epsilon_time.
[server]
# ...
epsilon_time = 5                # clock error in the cluster in seconds

[recommend]
# ...
# The time period to check recommendation for users (minutes). The default values is 1.
check_recommend_period = 1

# Replace historical items back to recommendations.
enable_replacement = false

# Decay the weights of replaced items from positive feedbacks.
positive_replacement_decay = 0.8

# Decay the weights of replaced items from read feedbacks.
read_replacement_decay = 0.6
  • Redis: Remove incompatible stale cache.
redis-cli KEYS "offline_recommend*" | xargs redis-cli DEL