Examples of CategoryListParams


Examples of org.apache.lucene.facet.params.CategoryListParams

  /** Creates a new instance and populates the catetory list params mapping. */
  public MultiCategoryListsFacetsExample() {
    // index all Author facets in one category list and all Publish Date in another.
    Map<CategoryPath,CategoryListParams> categoryListParams = new HashMap<CategoryPath,CategoryListParams>();
    categoryListParams.put(new CategoryPath("Author"), new CategoryListParams("author"));
    categoryListParams.put(new CategoryPath("Publish Date"), new CategoryListParams("pubdate"));
    indexingParams = new PerDimensionIndexingParams(categoryListParams);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.