Move query interceptor to an internal plugin interface (#120308)

Query interceptor is meant for internal modules to implement, not any
external plugin. Yet it is defined on SearchPlugin that is available to
all plugin authors. This commit creates an InternalSearchPlugin
interface and moves the query interceptor method to that.
This commit is contained in:
Ryan Ernst 2025-01-16 16:58:54 -08:00 committed by GitHub
parent 4c1c3b8fbf
commit ac687e0984
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 40 additions and 13 deletions

View file

@ -394,6 +394,7 @@ module org.elasticsearch.server {
exports org.elasticsearch.action.downsample;
exports org.elasticsearch.plugins.internal
to
org.elasticsearch.inference,
org.elasticsearch.metering,
org.elasticsearch.stateless,
org.elasticsearch.settings.secure,