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