Package org.elasticsearch.search
Class SearchModule
org.elasticsearch.search.SearchModule
public class SearchModule
extends
Sets up things that can be done at search time like queries, aggregations, and suggesters.
-
Field Summary
Modifier and TypeFieldDescriptionstatic >
static >
-
Constructor Summary
ConstructorDescriptionSearchModule(Settings settings, boolean transportClient, <SearchPlugin> plugins)
Constructs a new SearchModule object NOTE: This constructor should not be called in production unless an accurateSettings
object is provided. -
Method Summary
Modifier and TypeMethodDescription<,Highlighter>
Returns theHighlighter
registrystatic <NamedWriteableRegistry.Entry>
The registry ofMovAvgModel
s.<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry>
>
static void
<NamedWriteableRegistry.Entry> namedWriteables)
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Field Details
-
INDICES_MAX_CLAUSE_COUNT_SETTING
public static final > INDICES_MAX_CLAUSE_COUNT_SETTING -
INDICES_MAX_NESTED_DEPTH_SETTING
public static final > INDICES_MAX_NESTED_DEPTH_SETTING
-
-
Constructor Details
-
SearchModule
Constructs a new SearchModule object NOTE: This constructor should not be called in production unless an accurateSettings
object 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 includedSearchPlugin
objects.
-
-
Method Details
-
getNamedWriteables
-
getNamedXContents
public <org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry> getNamedXContents() -
getValuesSourceRegistry
-
getRequestCacheKeyDifferentiator
@Nullable public > getRequestCacheKeyDifferentiator() -
getHighlighters
Returns theHighlighter
registry -
getMovingAverageModelParserRegistry
The registry ofMovAvgModel
s. -
registerSmoothingModels
-
getIntervalsSourceProviderNamedWritables
-
getFetchPhase
-