Forcing index to be created/realocated in/to specific data dir

I have ES nodes in ec2 with both with local ephemeral SSD disks and large
EBS disks
New indexes are created on daily basis.
I want current day index to be created and on SSD disks
with number_of_replicas = 1
Once the day ends i want to move the index to EBS disks and change
the number_of_replicas to 0

I could not find a feature to choose specific data dir for index shards at
I know i can move index shards to different nodes (and control number of
shards per node
) with index.routing.allocation.*, so I was wondering i can also control in
which data dir within same node index shard will be created and realocated?


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit