@Test
public void testPartsWillNarrowDownWhatMainQueryFinds() throws Exception {

	index("alpha 1", "JournalArticle");
	index("alpha 2", "DLFileEntry");
	index("bravo 1", "DLFileEntry");
	SearchSearchRequest searchSearchRequest = createSearchSearchRequest();
	searchSearchRequest.setQuery(new MatchQuery("title", "alpha"));
	assertSearch(searchSearchRequest, "alpha 1", "alpha 2");
	addPart(
		"filter", _queries.term("entryClassName", "DLFileEntry"),
		searchSearchRequest);
	assertSearch(searchSearchRequest, "alpha 2");
}