Package org.elasticsearch.client.indices
Class ReloadAnalyzersRequest
- java.lang.Object
-
- org.elasticsearch.client.indices.ReloadAnalyzersRequest
-
- All Implemented Interfaces:
Validatable
public final class ReloadAnalyzersRequest extends Object implements Validatable
Request for the _reload_search_analyzers API
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
Constructor Summary
Constructors Constructor Description ReloadAnalyzersRequest(String... indices)Creates a new reload analyzers request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getIndices()Returns the indicesIndicesOptionsindicesOptions()Specifies what type of requested indices to ignore and how to deal with wildcard expressions.voidsetIndicesOptions(IndicesOptions indicesOptions)Specifies what type of requested indices to ignore and how to deal with wildcard expressions.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
-
-
-
Constructor Detail
-
ReloadAnalyzersRequest
public ReloadAnalyzersRequest(String... indices)
Creates a new reload analyzers request- Parameters:
indices- the index for which to reload analyzers
-
-
Method Detail
-
getIndices
public String[] getIndices()
Returns the indices
-
indicesOptions
public IndicesOptions indicesOptions()
Specifies what type of requested indices to ignore and how to deal with wildcard expressions. For example indices that don't exist.- Returns:
- the current behaviour when it comes to index names and wildcard indices expressions
-
setIndicesOptions
public void setIndicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and how to deal with wildcard expressions. For example indices that don't exist.- Parameters:
indicesOptions- the desired behaviour regarding indices to ignore and wildcard indices expressions
-
-