@Test
    void testSdConfigLogical() {
        // sd1
        SDDocumentType sdt1 = new SDDocumentType("s1");
        Schema schema1 = new Schema("s1", MockApplicationPackage.createEmpty());
        SDField f1 = new SDField(sdt1, "f1", DataType.STRING);
        f1.addAttribute(new Attribute(schema1.getName(), f1.getName(), "f1", DataType.STRING));
        f1.setIndexingScript("s1", new ScriptExpression(new StatementExpression(new AttributeExpression("f1"))));
        sdt1.addField(f1);
        schema1.addDocument(sdt1);

        // sd2
        SDDocumentType sdt2 = new SDDocumentType("s2");
        Schema schema2 = new Schema("s2", MockApplicationPackage.createEmpty());
        SDField f2 = new SDField(sdt2, "f2", DataType.STRING);
        f2.addAttribute(new Attribute(schema2.getName(), f2.getName(), "f2", DataType.STRING));
        f2.setIndexingScript("s2", new ScriptExpression(new StatementExpression(new AttributeExpression("f2"))));
        sdt2.addField(f2);
        schema2.addDocument(sdt2);

        ApplicationBuilder builder = new ApplicationBuilder();
        builder.add(schema1);
        builder.add(schema2);
        builder.build(true);
    }
Unit tests for SearchCluster. Please use this instead of SearchModelTestCase if possible and
write _unit_ tests. Thanks.

@author hmusum
config-model/src/test/java/com/yahoo/vespa/model/search/test/SchemaClusterTest.java