def cele_gen_whoosh(self): ''' Generat whoosh database. :return: ''' run_whoosh.gen_whoosh_database(kind_arr=kind_arr, post_type=post_type)
def run_whoosh(*args): ''' running whoosh ''' running_whoosh.gen_whoosh_database(kind_arr=kind_arr, post_type=post_type)