Examples of PwaMinSpan


Examples of org.apache.lucene.search.features.querydependent.PwaMinSpan

  protected void tearDown() throws Exception {
  }

  public void testScore() {       
    PwaMinSpan ranker=new PwaMinSpan(0)
    System.out.println(ranker.score());
    ranker=new PwaMinSpan(1)
    System.out.println(ranker.score());
    ranker=new PwaMinSpan(2)
    System.out.println(ranker.score());
    ranker=new PwaMinSpan(3)
    System.out.println(ranker.score());
    ranker=new PwaMinSpan(4)
    System.out.println(ranker.score());
    ranker=new PwaMinSpan(5)
    System.out.println(ranker.score());
    ranker=new PwaMinSpan(6)
    System.out.println(ranker.score());
    ranker=new PwaMinSpan(8)
    System.out.println(ranker.score());
    ranker=new PwaMinSpan(10)
    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.