public interface SearchPlugin
Modifier and Type | Interface and Description |
---|---|
static class |
SearchPlugin.AggregationSpec
Specification for an
Aggregation . |
static class |
SearchPlugin.FetchPhaseConstructionContext
Context available during fetch phase construction.
|
static class |
SearchPlugin.PipelineAggregationSpec
Specification for a
PipelineAggregator . |
static class |
SearchPlugin.QuerySpec<T extends QueryBuilder>
Specification of custom
Query . |
static class |
SearchPlugin.ScoreFunctionSpec<T extends ScoreFunctionBuilder<T>>
Specification of custom
ScoreFunction . |
static class |
SearchPlugin.SearchExtensionSpec<W extends NamedWriteable,P>
Specification of search time behavior extension like a custom
MovAvgModel or ScoreFunction . |
static class |
SearchPlugin.SearchExtSpec<T extends SearchExtBuilder>
Specification for a
SearchExtBuilder which represents an additional section that can be
parsed in a search request (within the ext element). |
Modifier and Type | Method and Description |
---|---|
default java.util.List<SearchPlugin.AggregationSpec> |
getAggregations()
The new
Aggregation s added by this plugin. |
default java.util.List<FetchSubPhase> |
getFetchSubPhases(SearchPlugin.FetchPhaseConstructionContext context)
The new
FetchSubPhase s defined by this plugin. |
default java.util.Map<java.lang.String,Highlighter> |
getHighlighters()
Get the
Highlighter s defined by this plugin. |
default java.util.List<SearchPlugin.SearchExtensionSpec<MovAvgModel,MovAvgModel.AbstractModelParser>> |
getMovingAverageModels()
The new
MovAvgModel s defined by this plugin. |
default java.util.List<SearchPlugin.PipelineAggregationSpec> |
getPipelineAggregations()
The new
PipelineAggregator s added by this plugin. |
default java.util.List<SearchPlugin.QuerySpec<?>> |
getQueries()
The new
Query s defined by this plugin. |
default java.util.List<SearchPlugin.ScoreFunctionSpec<?>> |
getScoreFunctions()
The new
ScoreFunction s defined by this plugin. |
default java.util.List<SearchPlugin.SearchExtSpec<?>> |
getSearchExts()
The new
SearchExtParser s defined by this plugin. |
default java.util.List<SearchPlugin.SearchExtensionSpec<SignificanceHeuristic,SignificanceHeuristicParser>> |
getSignificanceHeuristics()
The new
SignificanceHeuristic s defined by this plugin. |
default java.util.Map<java.lang.String,Suggester<?>> |
getSuggesters()
The new
Suggester s defined by this plugin. |
default java.util.List<SearchPlugin.ScoreFunctionSpec<?>> getScoreFunctions()
ScoreFunction
s defined by this plugin.default java.util.List<SearchPlugin.SearchExtensionSpec<SignificanceHeuristic,SignificanceHeuristicParser>> getSignificanceHeuristics()
SignificanceHeuristic
s defined by this plugin. SignificanceHeuristics are used by the
SignificantTerms
aggregation to pick which terms are significant for a given query.default java.util.List<SearchPlugin.SearchExtensionSpec<MovAvgModel,MovAvgModel.AbstractModelParser>> getMovingAverageModels()
MovAvgModel
s defined by this plugin. MovAvgModels are used by the MovAvgPipelineAggregator
to
model trends in data.default java.util.List<FetchSubPhase> getFetchSubPhases(SearchPlugin.FetchPhaseConstructionContext context)
FetchSubPhase
s defined by this plugin.default java.util.List<SearchPlugin.SearchExtSpec<?>> getSearchExts()
SearchExtParser
s defined by this plugin.default java.util.Map<java.lang.String,Highlighter> getHighlighters()
Highlighter
s defined by this plugin.default java.util.Map<java.lang.String,Suggester<?>> getSuggesters()
Suggester
s defined by this plugin.default java.util.List<SearchPlugin.QuerySpec<?>> getQueries()
Query
s defined by this plugin.default java.util.List<SearchPlugin.AggregationSpec> getAggregations()
Aggregation
s added by this plugin.default java.util.List<SearchPlugin.PipelineAggregationSpec> getPipelineAggregations()
PipelineAggregator
s added by this plugin.