Examples of PwaBoostOlder


Examples of org.apache.lucene.search.features.temporal.PwaBoostOlder

  public void testScore() {               
    long maxTimestamp=100;
    long minTimestamp=0
   
    for (long i=0;i<10;i++) {
      PwaBoostOlder ranker=new PwaBoostOlder(i,maxTimestamp,minTimestamp);
      System.out.println(i+" "+ranker.score())
    }
    for (long i=10;i<=100;i+=10) {
      PwaBoostOlder ranker=new PwaBoostOlder(i,maxTimestamp,minTimestamp);
      System.out.println(i+" "+ranker.score())
    }
   
    assertTrue(true);
  }   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.