Examples of PwaLinInlinks


Examples of org.apache.lucene.search.rankers.queryindependent.PwaLinInlinks

  protected void tearDown() throws Exception {
  }

  public void testScore() {       
    PwaLinInlinks ranker=new PwaLinInlinks(0)
    System.out.println(ranker.score());
    ranker=new PwaLinInlinks(1)
    System.out.println(ranker.score());
    ranker=new PwaLinInlinks(3)
    System.out.println(ranker.score());
    ranker=new PwaLinInlinks(5)
    System.out.println(ranker.score());
    ranker=new PwaLinInlinks(10)
    System.out.println(ranker.score());
    ranker=new PwaLinInlinks(100);   
    System.out.println(ranker.score());
    ranker=new PwaLinInlinks(1000)
    System.out.println(ranker.score());
    ranker=new PwaLinInlinks(10000)
    System.out.println(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.