Interface MappingRequestValidator

    • Method Summary

      Modifier and Type Method Description
      java.lang.Exception validateRequest​(PutMappingRequest request, ClusterState state, Index[] indices)
      Validates a given put mapping request with its associated concrete indices and the current state.
    • Method Detail

      • validateRequest

        java.lang.Exception validateRequest​(PutMappingRequest request,
                                            ClusterState state,
                                            Index[] indices)
        Validates a given put mapping request with its associated concrete indices and the current state.
        Parameters:
        request - the request to validate
        state - the current cluster state
        indices - the concrete indices that associated with the given put mapping request
        Returns:
        a non-null exception indicates a reason that the given request should be aborted; otherwise returns null.