diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index 3e697af06cf9..f933144dccff 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -34,6 +34,9 @@ API Changes * LUCENE-10381: Require users to provide FacetsConfig for SSDV faceting. (Greg Miller) +* LUCENE-10368: IntTaxonomyFacets has been deprecated and is no longer a supported extension point + for user-created faceting implementations. (Greg Miller) + New Features --------------------- diff --git a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/IntTaxonomyFacets.java b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/IntTaxonomyFacets.java index cdec3f1153fc..afc5fb1915c6 100644 --- a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/IntTaxonomyFacets.java +++ b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/IntTaxonomyFacets.java @@ -28,7 +28,16 @@ import org.apache.lucene.facet.LabelAndValue; import org.apache.lucene.facet.TopOrdAndIntQueue; -/** Base class for all taxonomy-based facets that aggregate to a per-ords int[]. */ +/** + * Base class for all taxonomy-based facets that aggregate to a per-ords int[]. + * + * @deprecated Visibility of this class will be reduced to pkg-private in a future version. This + * class is meant to host common code as an internal implementation detail to {@link + * FastTaxonomyFacetCounts} and {@link TaxonomyFacetSumIntAssociations},and is not intended as + * an extension point for user-created {@code Facets} implementations. If your code is relying + * on this, please migrate necessary functionality down into your own class. + */ +@Deprecated public abstract class IntTaxonomyFacets extends TaxonomyFacets { /**