Expand sharding on exist index

Hi

Is its possible to change number of shards on exist index, where part of
the types does not stored fields ?

--
This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this on behalf of the
addressee you must not use, copy, disclose or take action based on this
message or any information herein.
If you have received this message in error, please advise the sender
immediately by reply email and delete this message. Thank you.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/af54f124-9480-407b-bf08-a9edbf8460d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No.

But you can create a new index with more shards and if you are using an alias link it to the two indices.
That’s how you can add more shards to an index (virtual index aka alias)

Or you need to reindex all from the old index to the new index.

HTH

--
David Pilato - Developer | Evangelist
elastic.co
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr https://twitter.com/elasticsearchfr | @scrutmydocs https://twitter.com/scrutmydocs

Le 2 avr. 2015 à 10:31, Grigory Rubstein grigoryr@liveperson.com a écrit :

Hi

Is its possible to change number of shards on exist index, where part of the types does not stored fields ?

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein.
If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you.

--
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 elasticsearch+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/af54f124-9480-407b-bf08-a9edbf8460d3%40googlegroups.com https://groups.google.com/d/msgid/elasticsearch/af54f124-9480-407b-bf08-a9edbf8460d3%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/983AFEAC-9310-4BC6-AC9E-7E97E58C6D8A%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

ThaT
Thank you for the response ,
regarding second option, i want to reindex current index, as the
performance is already very slow and we can leave it as is.
the problem is that we have types that not stored ( "_source" : { "enabled"
: false } ) how can we reindex such doc types without retrieving them ? is
there any special api for this purpose ?

On Thursday, April 2, 2015 at 11:31:23 AM UTC+3, Grigory Rubstein wrote:

Hi

Is its possible to change number of shards on exist index, where part of
the types does not stored fields ?

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this on behalf of
the addressee you must not use, copy, disclose or take action based on this
message or any information herein.
If you have received this message in error, please advise the sender
immediately by reply email and delete this message. Thank you.

--
This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this on behalf of the
addressee you must not use, copy, disclose or take action based on this
message or any information herein.
If you have received this message in error, please advise the sender
immediately by reply email and delete this message. Thank you.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/475226eb-fb9d-4f8a-ae60-f71ac58670ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You will have to reindex from an external source then.

On 2 April 2015 at 22:43, Grigory Rubstein grigoryr@liveperson.com wrote:

ThaT
Thank you for the response ,
regarding second option, i want to reindex current index, as the
performance is already very slow and we can leave it as is.
the problem is that we have types that not stored ( "_source" : {
"enabled" : false } ) how can we reindex such doc types without retrieving
them ? is there any special api for this purpose ?

On Thursday, April 2, 2015 at 11:31:23 AM UTC+3, Grigory Rubstein wrote:

Hi

Is its possible to change number of shards on exist index, where part of
the types does not stored fields ?

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this on behalf of
the addressee you must not use, copy, disclose or take action based on this
message or any information herein.
If you have received this message in error, please advise the sender
immediately by reply email and delete this message. Thank you.

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this on behalf of
the addressee you must not use, copy, disclose or take action based on this
message or any information herein.
If you have received this message in error, please advise the sender
immediately by reply email and delete this message. Thank you.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/475226eb-fb9d-4f8a-ae60-f71ac58670ea%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/475226eb-fb9d-4f8a-ae60-f71ac58670ea%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8OJN5vQRmyLkfXxxHqC1RkfkFVP5O5FeHnMxXDfr0nWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.