Compound index

Hi,
I want to create compound index how can i do that
1.By changing config file in my ES
2.using java API
what i am doing currently is changing the config file and typing
index.compound_format: true.but index is still multi-file.what am i
doing wrong? also can some1 tell how to do that using java api.

Thanks
Ashutosh Raikvar

Setting index.compound_format set to true will work, you will still see
several files in the each shard index, but less...

On Wed, May 9, 2012 at 10:31 AM, ashu raikvar ashu.raikvar@gmail.comwrote:

Hi,
I want to create compound index how can i do that
1.By changing config file in my ES
2.using java API
what i am doing currently is changing the config file and typing
index.compound_format: true.but index is still multi-file.what am i
doing wrong? also can some1 tell how to do that using java api.

Thanks
Ashutosh Raikvar

ya right after posting the problem i got the solution thanks a ton for
replying

On Thu, May 10, 2012 at 1:11 PM, Shay Banon kimchy@gmail.com wrote:

Setting index.compound_format set to true will work, you will still see
several files in the each shard index, but less...

On Wed, May 9, 2012 at 10:31 AM, ashu raikvar ashu.raikvar@gmail.comwrote:

Hi,
I want to create compound index how can i do that
1.By changing config file in my ES
2.using java API
what i am doing currently is changing the config file and typing
index.compound_format: true.but index is still multi-file.what am i
doing wrong? also can some1 tell how to do that using java api.

Thanks
Ashutosh Raikvar

--
ashutosh raikvar