Class TaxonomyFacetsCutter

  • All Implemented Interfaces:
    FacetCutter

    public final class TaxonomyFacetsCutter
    extends Object
    implements FacetCutter
    FacetCutter for facets that use taxonomy side-car index.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • 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.