Package com.browseengine.bobo.facets.impl

Examples of com.browseengine.bobo.facets.impl.FilteredRangeFacetHandler


  }
 
  public void testRuntimeFilteredDateRange() throws Exception{
    BoboBrowser browser = newBrowser();
    String[] ranges = new String[]{"[2001/01/01 TO 2001/12/30]","[2007/01/01 TO 2007/12/30]"};
    FilteredRangeFacetHandler handler = new FilteredRangeFacetHandler("filtered_date", "date",Arrays.asList(ranges));
    browser.setFacetHandler(handler);
   
    BrowseRequest req = new BrowseRequest();
    req.setFacetSpec("filtered_date", new FacetSpec());
    HashMap<String,List<BrowseFacet>> answer=new HashMap<String,List<BrowseFacet>>();
View Full Code Here


  }

  public void testRuntimeFilteredDateRange() throws Exception {
    BoboBrowser browser = newBrowser();
    String[] ranges = new String[] { "[2001/01/01 TO 2001/12/30]", "[2007/01/01 TO 2007/12/30]" };
    FilteredRangeFacetHandler handler = new FilteredRangeFacetHandler("filtered_date", "date",
        Arrays.asList(ranges));
    browser.setFacetHandler(handler);

    BrowseRequest req = new BrowseRequest();
    req.setFacetSpec("filtered_date", new FacetSpec());
View Full Code Here

TOP

Related Classes of com.browseengine.bobo.facets.impl.FilteredRangeFacetHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.