use of com.yahoo.vespa.model.search.SearchCluster in project vespa by vespa-engine.
the class StreamingValidator method validate.
@Override
public void validate(VespaModel model, DeployState deployState) {
List<AbstractSearchCluster> searchClusters = model.getSearchClusters();
for (AbstractSearchCluster cluster : searchClusters) {
if (!cluster.isStreaming()) {
continue;
}
SearchCluster sc = (SearchCluster) cluster;
warnStreamingAttributes(sc, deployState.getDeployLogger());
warnStreamingGramMatching(sc, deployState.getDeployLogger());
failStreamingDocumentReferences(sc);
}
}
Aggregations