use of org.apache.lucene.queries.function.valuesource.SumTotalTermFreqValueSource in project lucene-solr by apache.
the class TestValueSources method testSumTotalTermFreq.
public void testSumTotalTermFreq() throws Exception {
ValueSource vs = new SumTotalTermFreqValueSource("text");
assertHits(new FunctionQuery(vs), new float[] { 8f, 8f });
assertAllExist(vs);
}
Aggregations