def search_index_file():
    """Return the default local index file, from the download cache"""
    from metapack import Downloader
    from os import environ
    return environ.get('METAPACK_SEARCH_INDEX', Downloader.get_instance().
        cache.getsyspath('index.json'))
