@Test
    void testAndFilter() {
        Query q = newQueryFromEncoded("?query=trump" +
                                      "&model.type=all" +
                                      "&model.defaultIndex=text" +
                                      "&filter=%2B%28filterattribute%3Afrontpage_US_en-US%29");
        assertEquals("AND text:trump |filterattribute:frontpage_US_en-US",
                     q.getModel().getQueryTree().toString());
    }
Tests that default-index is not applied to NOT filters
container-search/src/test/java/com/yahoo/search/test/QueryWithFilterTestCase.java