@classmethod
def mget(cls, ids):
    """Get multiple objects from elasticsearch
        """
    if not ids:
        return []
    docs = cls._get_es().mget(index=cls.INDEX, doc_type=cls.DOC_TYPE, body=
        {'ids': ids}).get('docs')
    result = []
    for doc in docs:
        if 'error' in doc or not doc.get('found', False):
            result.append(None)
            continue
        result.append(cls.from_raw_es_data(doc))
    return result
