public String getPropertyExplanation()

in src/java/com/twitter/search/earlybird/search/relevance/LinearScoringData.java [222:264]


  public String getPropertyExplanation() {
    StringBuilder sb = new StringBuilder();
    sb.append(hasCard ? "CARD " + SearchCardType.cardTypeFromByteValue(cardType) : "");
    sb.append(hasUrl ? "URL " : "");
    sb.append(isReply ? "REPLY " : "");
    sb.append(isRetweet ? "RETWEET " : "");
    sb.append(isOffensive ? "OFFENSIVE " : "");
    sb.append(hasTrend ? "TREND " : "");
    sb.append(hasMultipleHashtagsOrTrends ? "HASHTAG/TREND+ " : "");
    sb.append(isFromVerifiedAccount ? "VERIFIED " : "");
    sb.append(isFromBlueVerifiedAccount ? "BLUE_VERIFIED " : "");
    sb.append(isUserSpam ? "SPAM " : "");
    sb.append(isUserNSFW ? "NSFW " : "");
    sb.append(isUserBot ? "BOT " : "");
    sb.append(isUserAntiSocial ? "ANTISOCIAL " : "");
    sb.append(isTrusted ? "TRUSTED " : "");
    sb.append(isFollow ? "FOLLOW " : "");
    sb.append(isSelfTweet ? "SELF " : "");
    sb.append(hasImageUrl ? "IMAGE " : "");
    sb.append(hasVideoUrl ? "VIDEO " : "");
    sb.append(hasNewsUrl ? "NEWS " : "");
    sb.append(isNullcast ? "NULLCAST" : "");
    sb.append(hasQuote ? "QUOTE" : "");
    sb.append(isComposerSourceCamera ? "Composer Source: CAMERA" : "");
    sb.append(favCountPostLog2 > 0 ? "Faves:" + favCountPostLog2 + " " : "");
    sb.append(retweetCountPostLog2 > 0 ? "Retweets:" + retweetCountPostLog2 + " " : "");
    sb.append(replyCountPostLog2 > 0 ? "Replies:" + replyCountPostLog2 + " " : "");
    sb.append(getEmbedsImpressionCount(false) > 0
        ? "Embedded Imps:" + getEmbedsImpressionCount(false) + " " : "");
    sb.append(getEmbedsUrlCount(false) > 0
        ? "Embedded Urls:" + getEmbedsUrlCount(false) + " " : "");
    sb.append(getVideoViewCount(false) > 0
        ? "Video views:" + getVideoViewCount(false) + " " : "");
    sb.append(weightedRetweetCount > 0 ? "Weighted Retweets:"
        + ((int) weightedRetweetCount) + " " : "");
    sb.append(weightedReplyCount > 0
        ? "Weighted Replies:" + ((int) weightedReplyCount) + " " : "");
    sb.append(weightedFavCount > 0
        ? "Weighted Faves:" + ((int) weightedFavCount) + " " : "");
    sb.append(weightedQuoteCount > 0
        ? "Weighted Quotes:" + ((int) weightedQuoteCount) + " " : "");
    return sb.toString();
  }