- Notifications
You must be signed in to change notification settings - Fork 25.5k
Closed
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevanceenhancement"" muted="" aria-describedby="MDU6TGFiZWwyMzE3NA==-tooltip :R5b96b:">>enhancementTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearch
Description
Description
The QueryRewriteInterceptor
interface is a nice addition to Elasticsearch that allows for interesting custom query logic for plugins.
Although it is made available to plugins via the SearchPlugin
interface, it cannot be used actually by plugins because its package is not exported to the world (just to org.elasticsearch.inference
, see below).
Please consider exporting the package to the world so plugins can benefit from it!
elasticsearch/server/src/main/java/org/elasticsearch/plugins/SearchPlugin.java
Lines 133 to 136 in d3a1d9b
* @return Applicable {@link QueryRewriteInterceptor}s configured for this plugin. | |
* Note: This is internal to Elasticsearch's API and not extensible by external plugins. | |
*/ | |
default List<QueryRewriteInterceptor> getQueryRewriteInterceptors() { |
exports org.elasticsearch.plugins.internal.rewriter to org.elasticsearch.inference; |
Metadata
Metadata
Assignees
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevanceenhancement"" muted="" aria-describedby="MDU6TGFiZWwyMzE3NA==-tooltip :Ra5pmb:">>enhancementTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearch