Package org.apache.lucene.search.rankers.queryindependent

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

Related Classes of org.apache.lucene.search.rankers.queryindependent.PwaLinInlinks

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.