Wordpress installation with elasticsearch

Sir, I create an elastic search cluster using three nodes. There I set up a master node.
Now my question is where do I install the WordPress website?
Should I install websites on master nodes or data nodes or all nodes?
Generally, I like to use elastic search in wordpress search.

Sir please help me.

If possible, you should follow the principle of only running Elasticsearch on your nodes and run wordpress on other instances, so that Elasticsearch can use all the resources available on a system.