Class ReloadAnalyzersRequest

  • All Implemented Interfaces:
    Validatable

    public final class ReloadAnalyzersRequest
    extends java.lang.Object
    implements Validatable
    Request for the _reload_search_analyzers API
    • Field Summary

    • 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 indices
      IndicesOptions indicesOptions()
      Specifies what type of requested indices to ignore and how to deal with wildcard expressions.
      void setIndicesOptions​(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
    • Constructor Detail

      • ReloadAnalyzersRequest

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

      • getIndices

        public java.lang.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