Exclude a Index from Elasticsearch cluster

If I have Elastic search cluster and the DB contains more than one index. I want to exclude 1 index in each node from cluster sync, means that table is local to each node. How can I do this?

Have a look at https://www.elastic.co/guide/en/elasticsearch/reference/current/allocation-filtering.html