def meta_kw_extractor(index, msg_mid, msg, msg_size, msg_ts, **kwargs):
 if (msg_size <= 0):
  return []
 return [('%s:ln2sz' % int(math.log(msg_size, 2)))]

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