Class ReloadAnalyzersRequest

  • All Implemented Interfaces:
    Validatable

    public final class ReloadAnalyzersRequest
    extends Object
    implements Validatable
    Request for the _reload_search_analyzers API
    • Constructor Detail

      • ReloadAnalyzersRequest

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

      • 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