@classmethod
def render_paginator_for_es_result(cls, records, total, page=1, limit=10,
    page_len=0, reverse=False):
    """DEPRECATED WILL BE REMOVED DO NOT USE.

    Format an orderedDict ElasticSearch result in paginator object format.

    records: ordered dict (elastic result)
    """
    from .utils import ElasticSearchPaginatorDict
    e = ElasticSearchPaginatorDict(records, total, reverse)
    return cls._render_paginator(e, page, limit, page_len)
