I want to summarise topics with more than 20 posts. I changed this value summary posts required in settings to 20 even after that the Summarize This Topic button does not appear.
I’m getting a weird déjà vu here, but can’t find any previous discussion. In any case, my understanding is that changing this setting does not result in an instantaneous retroactive change.
The Summarize This Topic button will be added to all topics that meet the criteria as a result of a scheduled job. It looks like for recent topics, it should update them within 15 minutes of changing the setting. For older topics, within a week. If anyone wants to make the change right away, it appears triggering a rebuild will do the trick.
Also good to keep in mind the summary likes required site setting will also control whether or not a topic is summarized.
Can you let me know if you are seeing anything contrary to the above @Shubham_Ranjan?
@codinghorror, do you think it might be worth adding a note to the setting that informs admins that it may take up to a week for all posts to be updated?
Assuming I correctly followed all off the twists and turns in the code, here’s what I found:
We have a ScoreCalculator class that uses the two settings (summary likes required and summary posts required) to determine whether the topic should be summarized:
That ScoreCalulator class will be called in the PeriodicalUpdates job that runs every 15 minutes to check against topics that meet the specified arguments:
All other topics should be covered by the Weekly job with: