Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Solr 寻求建议,我有两个问题:
Solr 原子更新是否足够快以更新每个查询的建议流行度(流行度 inc 1)?或者更好的方法是将所有建议存储在 Redis 数据库中并每 24 小时将它们导入到 Solr?
当我使用 [{suggestion:'mySuggestion','popularity':{'inc':1}}] 并且索引中不存在“我的建议”建议时,Solr 会将其添加到索引中。但我只需要更新现有的建议。只有存在建议时如何增加人气场?