title: Rolling Index (Dynamic index name) In Spring Data Elasticsearch
body: <p>I have a usecase wherein I want to index my document in a separate index based on certain condition. For example, I want to store invoice document to an index with department name suffixed with it.</p>
  
  <pre><code>@Document(indexName="store_{department}", indexStoreType="invoice")
  public class InvoiceES{
  
      // fields
      @Id
      private String id;
      @Field
      private String department;
  }
  </code></pre>
  
  <p>Is it possible to achieve this using Spring Data?</p>
  
  <p>If not, is it planned in coming releases of Spring Data?</p>