private IndexFacts createIndexFacts() {
        SearchDefinition sd = new SearchDefinition("test");
        sd.addIndex(new Index("test"));
        sd.addIndex(attribute("filterattribute"));
        return new IndexFacts(new IndexModel(sd));
    }
Tests that default-index is not applied to NOT filters
container-search/src/test/java/com/yahoo/search/test/QueryWithFilterTestCase.java