Class TaxonomyFacetsCutter

java.lang.Object
org.apache.lucene.sandbox.facet.cutters.TaxonomyFacetsCutter
All Implemented Interfaces:
FacetCutter

public final class TaxonomyFacetsCutter extends Object implements FacetCutter
FacetCutter for facets that use taxonomy side-car index.
  • Field Details

  • Constructor Details

    • TaxonomyFacetsCutter

      public TaxonomyFacetsCutter(String indexFieldName, FacetsConfig facetsConfig, TaxonomyReader taxoReader)
      Create FacetCutter for taxonomy facets.
    • TaxonomyFacetsCutter

      public TaxonomyFacetsCutter(String indexFieldName, FacetsConfig facetsConfig, TaxonomyReader taxoReader, boolean disableRollup)
      Expert: Create FacetCutter for taxonomy facets.
      Parameters:
      disableRollup - if set to true, rollup is disabled. In most cases users should not use it. Setting it to true silently leads to incorrect results for dimensions that require rollup. At the same time, if you are sure that there are no dimensions that require rollup, setting it to true might improve performance.
  • Method Details