Search in sources :

Example 1 with SearchCluster

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);
    }
}
Also used : SearchCluster(com.yahoo.vespa.model.search.SearchCluster) AbstractSearchCluster(com.yahoo.vespa.model.search.AbstractSearchCluster) AbstractSearchCluster(com.yahoo.vespa.model.search.AbstractSearchCluster)

Aggregations

AbstractSearchCluster (com.yahoo.vespa.model.search.AbstractSearchCluster)1 SearchCluster (com.yahoo.vespa.model.search.SearchCluster)1