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) #40097

Closed

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Mar 15, 2019

Backport of #39071

* Fix IndexSearcherWrapper visibility

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
Copy link
Contributor Author

jimczi commented Mar 15, 2019

The pr in master has been reverted so I am closing this pr.

@jimczi jimczi closed this Mar 15, 2019
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