Class SearchChainResolver.Builder
java.lang.Object
com.yahoo.search.federation.sourceref.SearchChainResolver.Builder
- Enclosing class:
- SearchChainResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddSearchChain
(com.yahoo.component.ComponentId searchChainId) addSearchChain
(com.yahoo.component.ComponentId searchChainId, FederationOptions federationOptions) addSearchChain
(com.yahoo.component.ComponentId searchChainId, FederationOptions federationOptions, List<String> documentTypes) addSearchChain
(com.yahoo.component.ComponentId searchChainId, List<String> documentTypes) addSourceForProvider
(com.yahoo.component.ComponentId sourceId, com.yahoo.component.ComponentId providerId, com.yahoo.component.ComponentId searchChainId, boolean isDefaultProviderForSource, FederationOptions federationOptions, List<String> documentTypes) build()
void
useTargetByDefault
(String targetId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addSearchChain
-
addSearchChain
public SearchChainResolver.Builder addSearchChain(com.yahoo.component.ComponentId searchChainId, FederationOptions federationOptions) -
addSearchChain
public SearchChainResolver.Builder addSearchChain(com.yahoo.component.ComponentId searchChainId, List<String> documentTypes) -
addSearchChain
public SearchChainResolver.Builder addSearchChain(com.yahoo.component.ComponentId searchChainId, FederationOptions federationOptions, List<String> documentTypes) -
addSourceForProvider
public SearchChainResolver.Builder addSourceForProvider(com.yahoo.component.ComponentId sourceId, com.yahoo.component.ComponentId providerId, com.yahoo.component.ComponentId searchChainId, boolean isDefaultProviderForSource, FederationOptions federationOptions, List<String> documentTypes) -
useTargetByDefault
-
build
-