Add discipline autocomplete index and generation.