Is there any necessary to set node type of an es cluster which only has three nodes?

For small deployments it is generally fine to have 3 nodes with the default configuration (all roles). I’d load gets high or the cluster grows you can introduce dedicated node types.