'(Re)index all content within the given structure (course or library),
tracking the fact that a full reindex has taken place'

@classmethod
def _do_reindex(cls, modulestore, structure_key):

    indexed_count = cls.index(modulestore, structure_key)
    if indexed_count:
        cls._track_index_request(cls.INDEX_EVENT['name'], cls.INDEX_EVENT['category'], indexed_count)
    return indexed_count
