How can we set the size of an Index?

I have an index with 14miln docs and its current size is 2 gb which keeps
on growing from couchdb river plugin . Is there any way so that I can set
the size of an index so that if the size grows any further , ES should
create a new index automatically

On Fri, Apr 27, 2012 at 12:59, jajoria abhishek
jajoria.abhishek@gmail.com wrote:

I have an index with 14miln docs and its current size is 2 gb which keeps on
growing from couchdb river plugin . Is there any way so that I can set the
size of an index so that if the size grows any further , ES should create a
new index automatically

No, just write a script external to ES that polls it for the size and
creates a new index if it exceeds the size limit.

How can we check the size of index using script ?

On Fri, Apr 27, 2012 at 4:49 PM, Ævar Arnfjörð Bjarmason
avarab@gmail.comwrote:

On Fri, Apr 27, 2012 at 12:59, jajoria abhishek
jajoria.abhishek@gmail.com wrote:

I have an index with 14miln docs and its current size is 2 gb which
keeps on
growing from couchdb river plugin . Is there any way so that I can set
the
size of an index so that if the size grows any further , ES should
create a
new index automatically

No, just write a script external to ES that polls it for the size and
creates a new index if it exceeds the size limit.

On Fri, Apr 27, 2012 at 13:33, jajoria abhishek
jajoria.abhishek@gmail.com wrote:

How can we check the size of index using script ?

thanks

On Fri, Apr 27, 2012 at 5:33 PM, Ævar Arnfjörð Bjarmason
avarab@gmail.comwrote:

On Fri, Apr 27, 2012 at 13:33, jajoria abhishek
jajoria.abhishek@gmail.com wrote:

How can we check the size of index using script ?

Elasticsearch Platform — Find real-time answers at scale | Elastic

Indices stats is preferred compared to indices status API (with store and
possibly docs flags set).

On Fri, Apr 27, 2012 at 3:09 PM, jajoria abhishek <
jajoria.abhishek@gmail.com> wrote:

thanks

On Fri, Apr 27, 2012 at 5:33 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com

wrote:

On Fri, Apr 27, 2012 at 13:33, jajoria abhishek
jajoria.abhishek@gmail.com wrote:

How can we check the size of index using script ?

Elasticsearch Platform — Find real-time answers at scale | Elastic

How can we check Indices stats using java API?

On Sun, Apr 29, 2012 at 10:08 PM, Shay Banon kimchy@gmail.com wrote:

Indices stats is preferred compared to indices status API (with store and
possibly docs flags set).

On Fri, Apr 27, 2012 at 3:09 PM, jajoria abhishek <
jajoria.abhishek@gmail.com> wrote:

thanks

On Fri, Apr 27, 2012 at 5:33 PM, Ævar Arnfjörð Bjarmason <
avarab@gmail.com> wrote:

On Fri, Apr 27, 2012 at 13:33, jajoria abhishek
jajoria.abhishek@gmail.com wrote:

How can we check the size of index using script ?

Elasticsearch Platform — Find real-time answers at scale | Elastic

client.admin().indices().prepareStats...

On Mon, Apr 30, 2012 at 7:38 AM, jajoria abhishek <
jajoria.abhishek@gmail.com> wrote:

How can we check Indices stats using java API?

On Sun, Apr 29, 2012 at 10:08 PM, Shay Banon kimchy@gmail.com wrote:

Indices stats is preferred compared to indices status API (with store and
possibly docs flags set).

On Fri, Apr 27, 2012 at 3:09 PM, jajoria abhishek <
jajoria.abhishek@gmail.com> wrote:

thanks

On Fri, Apr 27, 2012 at 5:33 PM, Ævar Arnfjörð Bjarmason <
avarab@gmail.com> wrote:

On Fri, Apr 27, 2012 at 13:33, jajoria abhishek
jajoria.abhishek@gmail.com wrote:

How can we check the size of index using script ?

Elasticsearch Platform — Find real-time answers at scale | Elastic