Skip to content
  • sam marshall's avatar
    MDL-60981 core_search: Add get_contexts_to_reindex API · 25564a78
    sam marshall authored
    This new API returns a list of contexts for each search area. This
    allows the areas to be reindexed in a sensible order (roughly
    speaking, newest first) and also allows this to be controlled by
    each area.
    
    An implementation in the forum module means that forums are ordered
    by the date of the most recent discussion, so that active forums
    will be reindexed early even if they were created a long time ago.
    25564a78