assertEquals(res.getNumHits(), 0);
}
public void test7AndProperties() throws Exception {
BrowseRequest request = createRequest(1, ValueOperation.ValueOperationAnd, "prop1", "prop3");
BrowseResult res = browser.browse(request);
System.out.println(res);
assertEquals(res.getNumHits(), 2);
assertEquals(res.getHits()[0].getDocid(), 1);
assertEquals(res.getHits()[1].getDocid(), 2);
List<BrowseFacet> facets = res.getFacetAccessor(AttributeHandlerName).getFacets();
assertEquals(facets.size(), 4);
assertEquals(facets.get(0).getValue(), "prop1=val2");
assertEquals(facets.get(0).getFacetValueHitCount(), 2);
assertEquals(facets.get(1).getValue(), "prop3=val1");
assertEquals(facets.get(1).getFacetValueHitCount(), 1);