Skip to content

Commit

Permalink
Mark DrillSideways#createDrillDownFacetsCollector as @deprecated (#12854
Browse files Browse the repository at this point in the history
)
  • Loading branch information
gsmiller committed Dec 8, 2023
1 parent da236b1 commit 4a224aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lucene/CHANGES.txt
Expand Up @@ -10,6 +10,8 @@ API Changes
* GITHUB#12243: Mark TermInSetQuery ctors with varargs terms as @Deprecated. SortedSetDocValuesField#newSlowSetQuery,
SortedDocValuesField#newSlowSetQuery, KeywordField#newSetQuery now take a collection of terms as a param. (Jakub Slowinski)

* GITHUB#12854: Mark DrillSideways#createDrillDownFacetsCollector as @Deprecated. (Greg Miller)

New Features
---------------------
(No changes)
Expand All @@ -29,7 +31,6 @@ Bug Fixes

Other
---------------------

* GITHUB#11023: Removing some dead code in CheckIndex. (Jakub Slowinski)

======================== Lucene 9.9.0 =======================
Expand Down
Expand Up @@ -133,7 +133,12 @@ public DrillSideways(
/**
* Subclass can override to customize drill down facets collector. Returning {@code null} is valid
* if no drill down facet collection is needed.
*
* @deprecated This is only used by the deprecated {@link #search(DrillDownQuery, Collector)}
* entry-point. Please use {@link #search(DrillDownQuery, CollectorManager)} instead, and
* leverage {@link #createDrillDownFacetsCollectorManager()} as necessary
*/
@Deprecated
protected FacetsCollector createDrillDownFacetsCollector() {
return new FacetsCollector();
}
Expand Down

0 comments on commit 4a224aa

Please sign in to comment.