use of com.yahoo.prelude.searcher.QuerySnapshotSearcher in project vespa by vespa-engine.
the class QuerySnapshotSearcherTestCase method test.
public void test() {
Searcher searcher = new QuerySnapshotSearcher();
Result result = doSearch(searcher, new Query(), 0, 10);
Hit hit = result.hits().get(0);
assertEquals(String.valueOf(Double.POSITIVE_INFINITY), hit.getRelevance().toString());
}
Aggregations