summaryrefslogtreecommitdiffstats
path: root/container-search/src/test
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-03-22 10:22:01 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2024-03-22 14:14:49 +0100
commit9b381ea78f7edc6b63512c3a1cce47e506172514 (patch)
tree2cec103bf8af7e610f1819814caaa2b8e4f889ab /container-search/src/test
parentd07bb070803a582994ee3e6d6f454f006f188e76 (diff)
Add synthetic targets so that you can always use cluster.schema as source for both streaming and indexed.
- Make a SearchChainInvocationSpec proxy for all possible searchcluster.schema combinations. - It will modify the query with the actual source to use, and restrict to the given schema.
Diffstat (limited to 'container-search/src/test')
-rw-r--r--container-search/src/test/java/com/yahoo/search/federation/FederationResultTest.java15
1 files changed, 4 insertions, 11 deletions
diff --git a/container-search/src/test/java/com/yahoo/search/federation/FederationResultTest.java b/container-search/src/test/java/com/yahoo/search/federation/FederationResultTest.java
index bd39aed38fa..b1ce1fbd3ee 100644
--- a/container-search/src/test/java/com/yahoo/search/federation/FederationResultTest.java
+++ b/container-search/src/test/java/com/yahoo/search/federation/FederationResultTest.java
@@ -120,17 +120,10 @@ public class FederationResultTest {
this.timeout = timeout;
}
- @Override
- Chain<Searcher> getChain() { return chain; }
-
- @Override
- void modifyTargetQuery(Query query) { }
-
- @Override
- void modifyTargetResult(Result result) { }
-
- @Override
- public FederationOptions federationOptions() {
+ @Override Chain<Searcher> getChain() { return chain; }
+ @Override public void modifyTargetQuery(Query query) { }
+ @Override public void modifyTargetResult(Result result) { }
+ @Override public FederationOptions federationOptions() {
return new FederationOptions(false, timeout, true);
}