Class TaxonomyFacetLabels


  • public class TaxonomyFacetLabels
    extends Object
    Utility class to easily retrieve previously indexed facet labels, allowing you to skip also adding stored fields for these values, reducing your index size.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • TaxonomyFacetLabels

        public TaxonomyFacetLabels​(TaxonomyReader taxoReader,
                                   String indexFieldName)
        Sole constructor. Do not close the provided TaxonomyReader while still using this instance!