use of com.yahoo.search.searchchain.SearchChain in project vespa by vespa-engine.
the class FederationSearcherTestCase method addChained.
private void addChained(final Searcher searcher, final String sourceName) {
builder.target(new FederationConfig.Target.Builder().id(sourceName).searchChain(new FederationConfig.Target.SearchChain.Builder().searchChainId(sourceName).timeoutMillis(10000).useByDefault(true)));
chainRegistry.register(new ComponentId(sourceName), createSearchChain(new ComponentId(sourceName), searcher));
}
Aggregations