Problem with routing Elasticsearch has shard which has 0 document

i Have 20 shards . when i put documents 1 shard shows has no document.
other has same number of document except 1 which has double.

--
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/220a5044-d0a0-4269-bd77-d5f49857a159%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Are you using routing?
How many different routing Key are you using?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 déc. 2014 à 21:25, sandeep kaushal verma sandeepkaushalverma@gmail.com a écrit :

i Have 20 shards . when i put documents 1 shard shows has no document. other has same number of document except 1 which has double.

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/220a5044-d0a0-4269-bd77-d5f49857a159%40googlegroups.com.
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/D8355949-3E50-42BE-B0C5-54420EDBED59%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

20 routing key
On Saturday, 27 December 2014 01:58:51 UTC+5:30, David Pilato wrote:

Are you using routing?
How many different routing Key are you using?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 déc. 2014 à 21:25, sandeep kaushal verma <sandeepka...@gmail.com
<javascript:>> a écrit :

i Have 20 shards . when i put documents 1 shard shows has no document.
other has same number of document except 1 which has double.

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/220a5044-d0a0-4269-bd77-d5f49857a159%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/220a5044-d0a0-4269-bd77-d5f49857a159%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/785d8406-dd90-427c-959c-20294763a368%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

is there any problem occur in future when we 1 shard with 0 document . just
because we are moving it to production.
On Saturday, 27 December 2014 02:04:58 UTC+5:30, sandeep kaushal verma
wrote:

20 routing key
On Saturday, 27 December 2014 01:58:51 UTC+5:30, David Pilato wrote:

Are you using routing?
How many different routing Key are you using?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 déc. 2014 à 21:25, sandeep kaushal verma sandeepka...@gmail.com
a écrit :

i Have 20 shards . when i put documents 1 shard shows has no document.
other has same number of document except 1 which has double.

--
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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/220a5044-d0a0-4269-bd77-d5f49857a159%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/220a5044-d0a0-4269-bd77-d5f49857a159%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/e1e2d3d7-ac6c-43fa-a6cc-ed93d59b84cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

So sadly one of the routing key correspond to another routing key.

Why do you want to have this 1:1 relation between keys and shards ?
Why 20 shards?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 déc. 2014 à 21:34, sandeep kaushal verma sandeepkaushalverma@gmail.com a écrit :

20 routing key

On Saturday, 27 December 2014 01:58:51 UTC+5:30, David Pilato wrote:
Are you using routing?
How many different routing Key are you using?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 déc. 2014 à 21:25, sandeep kaushal verma sandeepka...@gmail.com a écrit :

i Have 20 shards . when i put documents 1 shard shows has no document. other has same number of document except 1 which has double.

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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/220a5044-d0a0-4269-bd77-d5f49857a159%40googlegroups.com.
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/785d8406-dd90-427c-959c-20294763a368%40googlegroups.com.
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/616957DE-78B6-4585-A17A-29973E958E32%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

just want i have approx 80 million user records with there respective
properties .1 user has owner of n properties but user properties not fixed
depend upon what user do. I just want approx equal distribution of users on
each shard it like 4 million each . and one more thing user and it's
properties increse dynamically.

On Saturday, 27 December 2014 02:34:48 UTC+5:30, David Pilato wrote:

So sadly one of the routing key correspond to another routing key.

Why do you want to have this 1:1 relation between keys and shards ?
Why 20 shards?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 déc. 2014 à 21:34, sandeep kaushal verma <sandeepka...@gmail.com
<javascript:>> a écrit :

20 routing key
On Saturday, 27 December 2014 01:58:51 UTC+5:30, David Pilato wrote:

Are you using routing?
How many different routing Key are you using?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 déc. 2014 à 21:25, sandeep kaushal verma sandeepka...@gmail.com
a écrit :

i Have 20 shards . when i put documents 1 shard shows has no document.
other has same number of document except 1 which has double.

--
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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/220a5044-d0a0-4269-bd77-d5f49857a159%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/220a5044-d0a0-4269-bd77-d5f49857a159%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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/785d8406-dd90-427c-959c-20294763a368%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/785d8406-dd90-427c-959c-20294763a368%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/77d51d51-bb0f-46b1-b5ed-c8b7866039e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

just because i want expend it to 20 node . i have approx 80 million user
records with there respective properties .1 user has owner of n properties
but user properties not fixed depend upon what user do. I just want approx
equal distribution of users on each shard it like 4 million each . and one
more thing user and it's properties increse dynamically.

On Saturday, 27 December 2014 18:24:03 UTC+5:30, sandeep kaushal verma
wrote:

just want i have approx 80 million user records with there respective
properties .1 user has owner of n properties but user properties not fixed
depend upon what user do. I just want approx equal distribution of users on
each shard it like 4 million each . and one more thing user and it's
properties increse dynamically.

On Saturday, 27 December 2014 02:34:48 UTC+5:30, David Pilato wrote:

So sadly one of the routing key correspond to another routing key.

Why do you want to have this 1:1 relation between keys and shards ?
Why 20 shards?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 déc. 2014 à 21:34, sandeep kaushal verma sandeepka...@gmail.com
a écrit :

20 routing key
On Saturday, 27 December 2014 01:58:51 UTC+5:30, David Pilato wrote:

Are you using routing?
How many different routing Key are you using?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 déc. 2014 à 21:25, sandeep kaushal verma sandeepka...@gmail.com
a écrit :

i Have 20 shards . when i put documents 1 shard shows has no document.
other has same number of document except 1 which has double.

--
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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/220a5044-d0a0-4269-bd77-d5f49857a159%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/220a5044-d0a0-4269-bd77-d5f49857a159%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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/785d8406-dd90-427c-959c-20294763a368%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/785d8406-dd90-427c-959c-20294763a368%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/a53a6735-d1ef-452d-aa20-29ca899e57c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.