示例#1
0
def reindex(ctx):
    """Reindexes the harvest source datasets.

    """
    flask_app = ctx.meta["flask_app"]
    with flask_app.test_request_context():
        utils.reindex()
示例#2
0
 def reindex(self):
     utils.reindex()