blob: 11ecb728f2dd2063198d05a43642019a305674e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.test.integration;
import com.yahoo.search.result.Hit;
import com.yahoo.search.Result;
import com.yahoo.search.Searcher;
import com.yahoo.search.searchchain.Execution;
public class ThirdSearcher extends Searcher {
public Result search(com.yahoo.search.Query query, Execution execution) {
Result result = execution.search(query);
result.hits().add(new Hit("searcher:3",997));
return result;
}
}
|