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 class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
IndicesRequest.RemoteClusterShardRequest, IndicesRequest.Replaceable
Nested 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, indices
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED
-
Constructor Summary
ConstructorDescriptionReloadAnalyzersRequest
(String resource, boolean preview, String... indices) Constructs a request for reloading index search analyzers -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
preview()
resource()
void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastRequest
includeDataStreams, indices, indices, indicesOptions, indicesOptions, timeout, timeout, validate
Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, getRequestId, setParentTask, setRequestId, toString
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.action.IndicesRequest.Replaceable
allowsRemoteIndices
Methods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
Methods 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
-false
applies analyzer reloading.true
previews 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:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classBroadcastRequest<ReloadAnalyzersRequest>
- Throws:
IOException
-
resource
-
preview
public boolean preview() -
equals
-
hashCode
public int hashCode()
-