change index directory in the cloud to be under "indices"

This commit is contained in:
kimchy 2010-05-23 08:18:49 +03:00
parent 5c6864e8b3
commit 32829aeba5
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public class CloudIndexGateway extends AbstractIndexComponent implements IndexGa
} }
} }
this.indexContainer = container; this.indexContainer = container;
this.indexDirectory = clusterName.value() + "/" + index.name(); this.indexDirectory = clusterName.value() + "/indices/" + index.name();
this.chunkSize = chunkSize; this.chunkSize = chunkSize;
logger.debug("Using location [{}], container [{}], index_directory [{}], chunk_size [{}]", this.location, this.indexContainer, this.indexDirectory, this.chunkSize); logger.debug("Using location [{}], container [{}], index_directory [{}], chunk_size [{}]", this.location, this.indexContainer, this.indexDirectory, this.chunkSize);