import math


def meta_kw_extractor(index, msg_mid, msg, msg_size, msg_ts):
    """Create a search term with the floored log2 size of the message."""
    if msg_size <= 0:
        return []
    return ['%s:ln2sz' % int(math.log(msg_size, 2))]