Package org.s3b.search.history

Examples of org.s3b.search.history.HistoryInfoImpl


    //    System.out.println("COUNTER [KEYWORD]: " + counter);
    if (boost != 0 && counter != 0) {
      //      result.setRank(result.getRank() * (boost/(float)counter));
      result.setRank(result.getRank() * boost);
      result.setRankComputed(true);
      HistoryInfo hi = new HistoryInfoImpl(result.getURIAsString(),
          HistoryInfoType.HIT_RESOURCE_RANK_UPDATED);
    this.resultObject.addHistoryInfo(hi);
            System.out.println("NEW RESULT RANK [KEYWORD]: " +result.getRank());
    }
  }
View Full Code Here


    boost=boost*(float)m2resource.bookmarksBoost;
    if (boost != 0 && counter != 0) {
      //      result.setRank(result.getRank() * (boost/(float)counter));
      result.setRank(result.getRank() * boost);
      result.setRankComputed(true);
      HistoryInfo hi = new HistoryInfoImpl(result.getURIAsString(),
          HistoryInfoType.HIT_RESOURCE_RANK_UPDATED);
      this.resultObject.addHistoryInfo(hi);
            System.out.println("NEW RESULT RANK [CATEGORY]: " +result.getRank());
    }
  }
View Full Code Here

TOP

Related Classes of org.s3b.search.history.HistoryInfoImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.