def get_boost(obj):
 boost = max(log10((1 + get_popularity(obj))), 1.0)
 if (obj.status in VALID_STATUSES):
  boost *= BOOST_MULTIPLIER_FOR_PUBLIC_CONTENT
 return boost

def get_boost ( obj ) : boost = max ( log10 ( ( 1 + get_popularity ( obj ) ) ) , 1.0 ) if ( obj . status in VALID_STATUSES ) : boost *= BOOST_MULTIPLIER_FOR_PUBLIC_CONTENT return boost
returns the boost used in elasticsearch for this app .