Class CloseIndexRequestBuilder

    • Method Detail

      • setIndices

        public CloseIndexRequestBuilder setIndices​(java.lang.String... indices)
        Sets the indices to be closed
        Parameters:
        indices - the indices to be closed
        Returns:
        the request itself
      • setIndicesOptions

        public CloseIndexRequestBuilder setIndicesOptions​(IndicesOptions indicesOptions)
        Specifies what type of requested indices to ignore and wildcard indices expressions For example indices that don't exist.
        Parameters:
        indicesOptions - the desired behaviour regarding indices to ignore and indices wildcard expressions
        Returns:
        the request itself