Package org.elasticsearch.plugins
Interface SearchPlugin
-
public interface SearchPluginPlugin for extending search time behavior.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSearchPlugin.AggregationSpecSpecification for anAggregation.static classSearchPlugin.FetchPhaseConstructionContextContext available during fetch phase construction.static classSearchPlugin.PipelineAggregationSpecSpecification for aPipelineAggregator.static classSearchPlugin.QuerySpec<T extends QueryBuilder>Specification of customQuery.static classSearchPlugin.RescorerSpec<T extends RescorerBuilder<T>>static classSearchPlugin.ScoreFunctionSpec<T extends ScoreFunctionBuilder<T>>Specification of customScoreFunction.static classSearchPlugin.SearchExtensionSpec<W extends NamedWriteable,P>Specification of search time behavior extension like a customMovAvgModelorScoreFunction.static classSearchPlugin.SearchExtSpec<T extends SearchExtBuilder>Specification for aSearchExtBuilderwhich represents an additional section that can be parsed in a search request (within the ext element).static classSearchPlugin.SuggesterSpec<T extends SuggestionBuilder<T>>Specification for aSuggester.
-
Method Summary
-
-
-
Method Detail
-
getScoreFunctions
default List<SearchPlugin.ScoreFunctionSpec<?>> getScoreFunctions()
The newScoreFunctions defined by this plugin.
-
getSignificanceHeuristics
default List<SearchPlugin.SearchExtensionSpec<SignificanceHeuristic,SignificanceHeuristicParser>> getSignificanceHeuristics()
The newSignificanceHeuristics defined by this plugin. SignificanceHeuristics are used by theSignificantTermsaggregation to pick which terms are significant for a given query.
-
getMovingAverageModels
default List<SearchPlugin.SearchExtensionSpec<MovAvgModel,MovAvgModel.AbstractModelParser>> getMovingAverageModels()
The newMovAvgModels defined by this plugin. MovAvgModels are used by theMovAvgPipelineAggregatorto model trends in data.
-
getFetchSubPhases
default List<FetchSubPhase> getFetchSubPhases(SearchPlugin.FetchPhaseConstructionContext context)
The newFetchSubPhases defined by this plugin.
-
getSearchExts
default List<SearchPlugin.SearchExtSpec<?>> getSearchExts()
The newSearchExtBuilders defined by this plugin.
-
getHighlighters
default Map<String,Highlighter> getHighlighters()
Get theHighlighters defined by this plugin.
-
getSuggesters
default List<SearchPlugin.SuggesterSpec<?>> getSuggesters()
The newSuggesters defined by this plugin.
-
getQueries
default List<SearchPlugin.QuerySpec<?>> getQueries()
The newQuerys defined by this plugin.
-
getAggregations
default List<SearchPlugin.AggregationSpec> getAggregations()
The newAggregations added by this plugin.
-
getPipelineAggregations
default List<SearchPlugin.PipelineAggregationSpec> getPipelineAggregations()
The newPipelineAggregators added by this plugin.
-
getRescorers
default List<SearchPlugin.RescorerSpec<?>> getRescorers()
The newRescorers added by this plugin.
-
-