Skip to content

Commit b6fbdcc

Browse files
authored
LUCENE-10368: Mark IntTaxonomyFacets as deprecated (#599)
1 parent c0a2471 commit b6fbdcc

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

lucene/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ API Changes
3434

3535
* LUCENE-10381: Require users to provide FacetsConfig for SSDV faceting. (Greg Miller)
3636

37+
* LUCENE-10368: IntTaxonomyFacets has been deprecated and is no longer a supported extension point
38+
for user-created faceting implementations. (Greg Miller)
39+
3740
New Features
3841
---------------------
3942

lucene/facet/src/java/org/apache/lucene/facet/taxonomy/IntTaxonomyFacets.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,16 @@
2828
import org.apache.lucene.facet.LabelAndValue;
2929
import org.apache.lucene.facet.TopOrdAndIntQueue;
3030

31-
/** Base class for all taxonomy-based facets that aggregate to a per-ords int[]. */
31+
/**
32+
* Base class for all taxonomy-based facets that aggregate to a per-ords int[].
33+
*
34+
* @deprecated Visibility of this class will be reduced to pkg-private in a future version. This
35+
* class is meant to host common code as an internal implementation detail to {@link
36+
* FastTaxonomyFacetCounts} and {@link TaxonomyFacetSumIntAssociations},and is not intended as
37+
* an extension point for user-created {@code Facets} implementations. If your code is relying
38+
* on this, please migrate necessary functionality down into your own class.
39+
*/
40+
@Deprecated
3241
public abstract class IntTaxonomyFacets extends TaxonomyFacets {
3342

3443
/**

0 commit comments

Comments
 (0)