Package org.elasticsearch.search
Class SearchModule
java.lang.Object
org.elasticsearch.search.SearchModule
Sets up things that can be done at search time like queries, aggregations, and suggesters.
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionSearchModule(Settings settings, boolean transportClient, List<SearchPlugin> plugins)Constructs a new SearchModule object NOTE: This constructor should not be called in production unless an accurateSettingsobject is provided. -
Method Summary
Modifier and TypeMethodDescriptionReturns theHighlighterregistrystatic List<NamedWriteableRegistry.Entry>The registry ofMovAvgModels.List<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry>static voidregisterSmoothingModels(List<NamedWriteableRegistry.Entry> namedWriteables)
-
Field Details
-
INDICES_MAX_CLAUSE_COUNT_SETTING
-
INDICES_MAX_NESTED_DEPTH_SETTING
-
-
Constructor Details
-
SearchModule
Constructs a new SearchModule object NOTE: This constructor should not be called in production unless an accurateSettingsobject is provided. When constructed, a static flag is set in LuceneBooleanQuery.setMaxClauseCount(int)according to the settings.- Parameters:
settings- Current settingstransportClient- Is this being constructed in the TransportClient or notplugins- List of includedSearchPluginobjects.
-
-
Method Details
-
getNamedWriteables
-
getNamedXContents
-
getValuesSourceRegistry
-
getRequestCacheKeyDifferentiator
@Nullable public CheckedBiConsumer<ShardSearchRequest,StreamOutput,IOException> getRequestCacheKeyDifferentiator() -
getHighlighters
Returns theHighlighterregistry -
getMovingAverageModelParserRegistry
The registry ofMovAvgModels. -
registerSmoothingModels
-
getIntervalsSourceProviderNamedWritables
-
getFetchPhase
-