Class ReloadSearchAnalyzersRequest
IMPORTANT: After reloading the search analyzers you should clear the request cache to make sure it doesn't contain responses derived from the previous versions of the analyzer.
 You can use the reload search analyzers API to pick up changes to synonym
 files used in the synonym_graph or synonym token
 filter of a search analyzer. To be eligible, the token filter must have an
 updateable flag of true and only be used in search
 analyzers.
 
NOTE: This API does not perform a reload for each shard of an index. Instead, it performs a reload for each node containing index shards. As a result, the total shard count returned by the API can differ from the number of index shards. Because reloading affects every node with an index shard, it is important to update the synonym file on every data node in the cluster--including nodes that don't contain a shard replica--before using this API. This ensures the synonym file is updated everywhere in the cluster in case shards are relocated in the future.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionEndpoint "indices.reload_search_analyzers".
- 
Method SummaryModifier and TypeMethodDescriptionfinal BooleanWhether to ignore if a wildcard indices expression resolves into no concrete indices.final List<ExpandWildcard>Whether to expand wildcard expression to concrete indices that are open, closed or both.final BooleanWhether specified concrete indices should be ignored when unavailable (missing or closed)index()Required - A comma-separated list of index names to reload analyzers forstatic ReloadSearchAnalyzersRequestfinal Stringresource()Changed resource to reload analyzers from if applicableMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTpublic static final Endpoint<ReloadSearchAnalyzersRequest,ReloadSearchAnalyzersResponse, _ENDPOINTErrorResponse> Endpoint "indices.reload_search_analyzers".
 
- 
- 
Method Details- 
of
- 
allowNoIndicesWhether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes_allstring or when no indices have been specified)API name: allow_no_indices
- 
expandWildcardsWhether to expand wildcard expression to concrete indices that are open, closed or both.API name: expand_wildcards
- 
indexRequired - A comma-separated list of index names to reload analyzers forAPI name: index
- 
resourceChanged resource to reload analyzers from if applicableAPI name: resource
 
-