def init(): """Create or upgrade the search index and database.""" upgrade_db() init_search() upgrade_search() install_analyzers() get_archive().upgrade()
def init(skip=''): """Create or upgrade the search index and database.""" upgrade_db() init_search() upgrade_search() if 'analyzers' not in skip: install_analyzers() archive.upgrade()
def installdata(): """Create or upgrade the search index and database.""" install_analyzers()
def installdata(): """Install data needed for linguistic processing.""" install_analyzers()