Exemplo n.º 1
0
def init():
    """Create or upgrade the search index and database."""
    upgrade_db()
    init_search()
    upgrade_search()
    install_analyzers()
    get_archive().upgrade()
Exemplo n.º 2
0
def init():
    """Create or upgrade the search index and database."""
    upgrade_db()
    init_search()
    upgrade_search()
    install_analyzers()
    get_archive().upgrade()
Exemplo n.º 3
0
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()
Exemplo n.º 4
0
def upgrade():
    """Create or upgrade the search index and database."""
    upgrade_db()
    # upgrade_search()
    archive.upgrade()
Exemplo n.º 5
0
def evilshit():
    """Delete all data and recreate the database."""
    db.drop_all()
    upgrade_db()
    delete_index()
    init_search()
Exemplo n.º 6
0
def upgrade():
    """Create or upgrade the search index and database."""
    upgrade_db()
    upgrade_search()
    upgrade_graph()
    get_archive().upgrade()
Exemplo n.º 7
0
def upgrade():
    """Create or upgrade the search index and database."""
    upgrade_db()
    upgrade_search()