Module org.elasticsearch.server
Class ReloadAnalyzersRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.broadcast.BroadcastRequest<ReloadAnalyzersRequest>
org.elasticsearch.action.admin.indices.analyze.ReloadAnalyzersRequest
- All Implemented Interfaces:
IndicesRequest,IndicesRequest.Replaceable,Writeable,RefCounted,TaskAwareRequest
Request for reloading index search analyzers
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
IndicesRequest.RemoteClusterShardRequest, IndicesRequest.Replaceable, IndicesRequest.SingleIndexNoWildcardsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.action.support.broadcast.BroadcastRequest
DEFAULT_INDICES_OPTIONS, indicesFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionReloadAnalyzersRequest(String resource, boolean preview, String... indices) Constructs a request for reloading index search analyzers -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanpreview()resource()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastRequest
includeDataStreams, indices, indices, indicesOptions, indicesOptions, timeout, timeout, validateMethods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, getRequestId, setParentTask, setRequestId, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.action.IndicesRequest.Replaceable
allowsRemoteIndicesMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
ReloadAnalyzersRequest
Constructs a request for reloading index search analyzers- Parameters:
resource- changed resource to reload analyzers from, @null if not applicablepreview-falseapplies analyzer reloading.truepreviews the reloading operation, so analyzers are not reloaded but the results retrieved. This is useful for understanding analyzers usage in the different indices.indices- the indices to reload analyzers for
-
ReloadAnalyzersRequest
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBroadcastRequest<ReloadAnalyzersRequest>- Throws:
IOException
-
resource
-
preview
public boolean preview() -
equals
-
hashCode
public int hashCode()
-