Package org.apache.lucene.queries.function.valuesource

Examples of org.apache.lucene.queries.function.valuesource.ScaleFloatFunction$ScaleInfo


        3, 1, 4)),
        new float[] { 0.1f, 0.1f });
  }
 
  public void testScale() throws Exception {
    assertHits(new FunctionQuery(new ScaleFloatFunction(new IntFieldSource("int"), 0, 1)),
       new float[] { 0.0f, 1.0f });
  }
View Full Code Here


        3, 1, 4)),
        new float[] { 0.1f, 0.1f });
  }
 
  public void testScale() throws Exception {
    assertHits(new FunctionQuery(new ScaleFloatFunction(new IntFieldSource("int"), 0, 1)),
       new float[] { 0.0f, 1.0f });
  }
View Full Code Here

TOP

Related Classes of org.apache.lucene.queries.function.valuesource.ScaleFloatFunction$ScaleInfo

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.