req.setFacetSpec("price", spec);
req.setFacetSpec("mileage", spec);
req.setFacetSpec("tags", spec);
}
public static SenseiRequest getRequest() {
FacetSpec facetSpecall = new FacetSpec();
facetSpecall.setMaxCount(1000000);
facetSpecall.setExpandSelection(true);
facetSpecall.setMinHitCount(0);
facetSpecall.setOrderBy(FacetSortSpec.OrderHitsDesc);
FacetSpec facetSpec = new FacetSpec();
facetSpec.setMaxCount(5);
SenseiRequest req = new SenseiRequest();
req.setCount(3);
facetSpecall.setMaxCount(3);
setspec(req, facetSpecall);
BrowseSelection sel = new BrowseSelection("year");