def init(): """Create or upgrade the search index and database.""" upgrade_db() init_search() upgrade_search() upgrade_graph() install_analyzers() get_archive().upgrade()
def upgrade(): """Create or upgrade the search index and database.""" upgrade_db() upgrade_search() upgrade_graph() get_archive().upgrade()