def searchtextindexpage(index_or_dirname, query, pagenum, pagelen=10,
                        indexname=None, docnum_field=None, score_field=None,
                        fieldboosts=None, search_kwargs=None):

    return SearchTextIndexView(index_or_dirname, query, pagenum=pagenum,
                               pagelen=pagelen, indexname=indexname,
                               docnum_field=docnum_field,
                               score_field=score_field, fieldboosts=fieldboosts,
                               search_kwargs=search_kwargs)
Search an index using a query, returning a result page.
dataset/ETHPy150Open alimanfoo/petl/petl/io/whoosh.py/searchtextindexpage