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