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, List<SearchPlugin> plugins) Constructs a new SearchModule objectSearchModule(Settings settings, List<SearchPlugin> plugins, TelemetryProvider telemetryProvider) Constructs a new SearchModule object -
Method Summary
Modifier and TypeMethodDescriptionReturns theHighlighterregistrystatic List<NamedWriteableRegistry.Entry> static voidregisterSmoothingModels(List<NamedWriteableRegistry.Entry> namedWriteables)
-
Field Details
-
INDICES_MAX_CLAUSE_COUNT_SETTING
-
INDICES_MAX_NESTED_DEPTH_SETTING
-
SCRIPTED_METRICS_AGG_ONLY_ALLOWED_SCRIPTS
-
SCRIPTED_METRICS_AGG_ALLOWED_INLINE_SCRIPTS
-
SCRIPTED_METRICS_AGG_ALLOWED_STORED_SCRIPTS
-
-
Constructor Details
-
SearchModule
Constructs a new SearchModule object- Parameters:
settings- Current settingsplugins- List of includedSearchPluginobjects.
-
SearchModule
public SearchModule(Settings settings, List<SearchPlugin> plugins, TelemetryProvider telemetryProvider) Constructs a new SearchModule object- Parameters:
settings- Current settingsplugins- List of includedSearchPluginobjects.telemetryProvider-
-
-
Method Details
-
getNamedWriteables
-
getNamedXContents
-
getValuesSourceRegistry
-
getRequestCacheKeyDifferentiator
@Nullable public CheckedBiConsumer<ShardSearchRequest,StreamOutput, getRequestCacheKeyDifferentiator()IOException> -
getHighlighters
Returns theHighlighterregistry -
registerSmoothingModels
-
getIntervalsSourceProviderNamedWritables
-
getFetchPhase
-