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

Fix IndexSearcherWrapper visibility (#39071) #40145

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Mar 18, 2019

Backport of #39071

This change adds a wrapper for IndexSearcher that makes IndexSearcher#search(List, Weight, Collector) visible by
sub-classes. The wrapper is used by the ContextIndexSearcher to call this protected method on a searcher created by a plugin.
This ensures that an override of the protected method in an IndexSearcherWrapper plugin is called when a search is executed.

Closes elastic#30758
@jimczi jimczi merged commit eb54012 into elastic:7.x Mar 18, 2019
@jimczi jimczi deleted the bug/index_searcher_wrapper_vis_backport branch March 18, 2019 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant