Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark DrillSideways#createDrillDownFacetsCollector as @Deprecated #12854

Conversation

gsmiller
Copy link
Contributor

This extension hook is only referenced by the also-deprecated DrillSideways#search(DrillDownQuery, Collector), so let's mark it deprecated as well and remove it on main.

@@ -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)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I'm competely missing it, but I only see a search with CollectorManager in DrillSideways (code), not one with Collector. Was it already deleted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's been removed on main but deprecated on 9.x. Here's a reference:

public DrillSidewaysResult search(DrillDownQuery query, Collector hitCollector)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, and just to clarify, this is the back-port proposal for this change on main, which would be merged against 9.x.

@gsmiller gsmiller force-pushed the GH/ds-remove-createDrillDownFacetsCollector-bp branch from 93ce2f5 to ffd6eb9 Compare December 7, 2023 20:27
@gsmiller gsmiller merged commit 4a224aa into apache:branch_9x Dec 8, 2023
2 checks passed
@gsmiller gsmiller deleted the GH/ds-remove-createDrillDownFacetsCollector-bp branch December 8, 2023 17:38
@gsmiller gsmiller added this to the 9.10.0 milestone Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants