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 Details

    • DEFAULT_INDICES_OPTIONS

      public static final IndicesOptions DEFAULT_INDICES_OPTIONS
  • Constructor Details

    • ReloadAnalyzersRequest

      public ReloadAnalyzersRequest(String... indices)
      Creates a new reload analyzers request
      Parameters:
      indices - the index for which to reload analyzers
  • Method Details

    • 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