Package org.elasticsearch.client.indices
Class ReloadAnalyzersRequest
java.lang.Object
org.elasticsearch.client.indices.ReloadAnalyzersRequest
- All Implemented Interfaces:
Validatable
public final class ReloadAnalyzersRequest extends java.lang.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(java.lang.String... indices)
Creates a new reload analyzers request -
Method Summary
Modifier and Type Method Description java.lang.String[]
getIndices()
Returns the indicesorg.elasticsearch.action.support.IndicesOptions
indicesOptions()
Specifies what type of requested indices to ignore and how to deal with wildcard expressions.void
setIndicesOptions(org.elasticsearch.action.support.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 Details
-
ReloadAnalyzersRequest
public ReloadAnalyzersRequest(java.lang.String... indices)Creates a new reload analyzers request- Parameters:
indices
- the index for which to reload analyzers
-
-
Method Details
-
getIndices
public java.lang.String[] getIndices()Returns the indices -
indicesOptions
public org.elasticsearch.action.support.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(org.elasticsearch.action.support.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
-