String lang = status.getLang();
if (!lang.equals("unknown")) {
doc.add(new TextField(StatusField.LANG.name, status.getLang(), Store.YES));
}
long retweetStatusId = status.getRetweetedStatusId();
<BUG>if (retweetStatusId > 0) {
doc.add(new LongField(StatusField.RETWEETED_STATUS_ID.name, retweetStatusId, Field.Store.YES));

doc.add(new LongField(StatusField.RETWEETED_USER_ID.name, status.getRetweetedUserId(), Field.Store.YES));

doc.add(new IntField(StatusField.RETWEET_COUNT.name, status.getRetweetCount(), Store.YES));
</BUG>
if ( status.getRetweetCount() < 0 || status.getRetweetedStatusId() < 0) {

String lang = status.getLang();
if (!lang.equals("unknown")) {
doc.add(new TextField(StatusField.LANG.name, status.getLang(), Store.YES));
}
long retweetStatusId = status.getRetweetedStatusId();
if (retweetStatusId > 0) {
doc.add(new LongPoint(StatusField.RETWEETED_STATUS_ID.name, retweetStatusId));
doc.add(new StoredField(StatusField.RETWEETED_STATUS_ID.name, retweetStatusId));
doc.add(new LongPoint(StatusField.RETWEETED_USER_ID.name, status.getRetweetedUserId()));
doc.add(new StoredField(StatusField.RETWEETED_USER_ID.name, status.getRetweetedUserId()));
doc.add(new IntPoint(StatusField.RETWEET_COUNT.name, status.getRetweetCount()));
doc.add(new StoredField(StatusField.RETWEET_COUNT.name, status.getRetweetCount()));
if ( status.getRetweetCount() < 0 || status.getRetweetedStatusId() < 0) {
