title: Is it possible to write to multiple indexes with an ElasticSearch alias?
body: <p>The <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html" rel="noreferrer">ElasticSearch Docs</a> reads:</p>
  
  <blockquote>
    <p>An alias can also be mapped to more than one index, and when specifying it, the alias will automatically expand to the aliases indices.</p>
  </blockquote>
  
  <p>But when I try to add an alias to 2 indices and write to both, neither seem to get updated with the document. If I remove one of the aliases, it will write correctly to the alias that still exists.</p>
  
  <p>Fails with multiple write aliases:</p>
  
  <pre><code>$ curl -XGET 'http://localhost:9200/_aliases'
  </code></pre>
  
  <p>result:</p>
  
  <pre><code>{
    "dev_01": {
      "aliases": {
        "dev_read": {},
        "dev_write": {}
      }
    },
    "dev": {
      "aliases": {
        "dev_write": {}
      }
    }
  }
  </code></pre>
  
  <p>Works with single alias:</p>
  
  <pre><code>$ curl -XGET 'http://localhost:9200/_aliases'
  </code></pre>
  
  <p>result:</p>
  
  <pre><code>{
    "dev_01": {
      "aliases": {
        "dev_read": {},
        "dev_write": {}
      }
    },
    "dev": {
      "aliases": {}
    }
  }
  </code></pre>
  
  <p>Does elasticsearch support writing to multiple indices? Are aliases Read-Only if pointed at multiple indices?</p>