Class ReloadAnalyzersRequest

All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, Writeable, RefCounted, TaskAwareRequest

public class ReloadAnalyzersRequest extends BroadcastRequest<ReloadAnalyzersRequest>
Request for reloading index search analyzers
  • Constructor Details

    • ReloadAnalyzersRequest

      public ReloadAnalyzersRequest(String resource, boolean preview, String... indices)
      Constructs a request for reloading index search analyzers
      Parameters:
      resource - changed resource to reload analyzers from, @null if not applicable
      preview - 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

      public ReloadAnalyzersRequest(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details