Hi, Thanks for answering.
I did use mapreduce to build a sensei index and I uploaded it to Amazon S3. I invoke load-index like this :
So, to illustrate what my sensei data directory on each cluster node looks like :
$ du -sh /mnt/sensei-index-aug12-2013/*
20K /mnt/sensei-index-aug12-2013/node1
32G /mnt/sensei-index-aug12-2013/zoieone
# The folders for the 4 shards are created when start sensei with no data.
$ du -sh /mnt/sensei-index-aug12-2013/node1/*
4.0K /mnt/sensei-index-aug12-2013/node1/shard4
4.0K /mnt/sensei-index-aug12-2013/node1/shard5
4.0K /mnt/sensei-index-aug12-2013/node1/shard6
4.0K /mnt/sensei-index-aug12-2013/node1/shard7
# But no data is added to the shard folders when I load the index. All data goes to "zoieone".
# There is no index.directory file in this folder.
$ ls /mnt/sensei-index-aug12-2013/node1/shard4
# The "zoieone" folder contains the data for "node1"
$ du -sh /mnt/sensei-index-aug12-2013/zoieone/*
32G /mnt/sensei-index-aug12-2013/zoieone/node1
# Data for all 4 shards in "zoieone"
$ du -sh /mnt/sensei-index-aug12-2013/zoieone/node1/*
8.6G /mnt/sensei-index-aug12-2013/zoieone/node1/shard4
7.1G /mnt/sensei-index-aug12-2013/zoieone/node1/shard5
8.6G /mnt/sensei-index-aug12-2013/zoieone/node1/shard6
7.1G /mnt/sensei-index-aug12-2013/zoieone/node1/shard7
# "Timestamp folder" inside the shard folder in "zoieone"
$ du -sh /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/*
8.6G /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382
# An "index.directory" file and lucene index files are present inside this "timestamp" folder.
$ du -sh /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/*
6.8G /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/_25p.fdt
225M /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/_25p.fdx
4.0K /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/_25p.fnm
764M /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/_25p.frq
281M /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/_25p.prx
5.2M /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/_25p.tii
545M /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/_25p.tis
0 /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/committed
4.0K /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/index.directory
4.0K /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/segments_1
4.0K /mnt/sensei-index-aug12-2013/zoieone/node1/shard4/1377986882382/segments.gen
There seem to be these timestamp folders inside these shard folders in "zoieone" , which in turn contain the lucene index files. There is also an "index.directory" watermark file in these like you mentioned, while there is none in the shards of the main index folder.
To move data into the main index and make it work, do I merely move the whole timestamp folder into the main index directory like this :
Do I move the *contents* of the timestamp folder into the main index directory ?
Thanks again.