Current server architecture/configuration
1 Master Node (m3.large)
1 Search Node (m3.large)
3 Data Node (c3.xlarge)
20 shard
user has 6 nested obj
{
"user" : {
"dynamic_templates" : [
{
"string_template" : {
"match" : "*",
"match_mapping_type" : "string",
"mapping" : {
"type" : "string",
"index" : "analyzed",
"analyzer":"string_lowercase"
}
}
}
],
"_routing": {"required": true, "path": "userId"},
"properties":{
"userId":{"type":"long"},
"prop": {"type": "nested"}
,"campaign": {"type": "nested"},
"category": {"type": "nested"},
"product": {"type": "nested"},
"brand": {"type": "nested"},
"event": {"type": "nested"}
}
}
}
Also set heap Size configuration and other ulimit
What i m doing wrong That I m getting let response from response
--
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/a644d931-3a98-4cd1-95c1-d88d755c6dfc%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
warkolm
(Mark Walkom)
December 23, 2014, 10:28pm
2
Your email is a little unclear.
What exactly is the problem?
On 23 December 2014 at 16:47, sandeep kaushal verma <
sandeepkaushalverma@gmail.com > wrote:
Current server architecture/configuration
1 Master Node (m3.large)
1 Search Node (m3.large)
3 Data Node (c3.xlarge)
20 shard
user has 6 nested obj
{
"user" : {
"dynamic_templates" : [
{
"string_template" : {
"match" : "*",
"match_mapping_type" : "string",
"mapping" : {
"type" : "string",
"index" : "analyzed",
"analyzer":"string_lowercase"
}
}
}
],
"_routing": {"required": true, "path": "userId"},
"properties":{
"userId":{"type":"long"},
"prop": {"type": "nested"}
,"campaign": {"type": "nested"},
"category": {"type": "nested"},
"product": {"type": "nested"},
"brand": {"type": "nested"},
"event": {"type": "nested"}
}
}
}
Also set heap Size configuration and other ulimit
What i m doing wrong That I m getting let response from response
--
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/a644d931-3a98-4cd1-95c1-d88d755c6dfc%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/a644d931-3a98-4cd1-95c1-d88d755c6dfc%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/CAEYi1X-Gx%2B0LPdsh0nE1f5spZNBjF38YVy75%3DwQyCvi-cLUAMg%40mail.gmail.com .
For more options, visit https://groups.google.com/d/optout .
I have a user document
User has n properties of his own which is around 200. User has few nested
properties like his activities, products, brands etc.
Case I, If I put all data in flat way, not creating any nested objects, it
increases index properties size to around 50K.
Case II, If I put all data in nested objects, it increases no of Document
to around 300 per user. In this case total documents grows in billions.
Case III, If I take mixed approach, It will make index properties size of
around 500 and few nested objects. Here document size of user is around 45.
I have to take decision on choosing best way on above.
I appreciate if you suggest any other way which is appropriate in my
situation.
On Wednesday, 24 December 2014 03:58:58 UTC+5:30, Mark Walkom wrote:
Your email is a little unclear.
What exactly is the problem?
On 23 December 2014 at 16:47, sandeep kaushal verma <
sandeepka...@gmail.com <javascript:>> wrote:
Current server architecture/configuration
1 Master Node (m3.large)
1 Search Node (m3.large)
3 Data Node (c3.xlarge)
20 shard
user has 6 nested obj
{
"user" : {
"dynamic_templates" : [
{
"string_template" : {
"match" : "*",
"match_mapping_type" : "string",
"mapping" : {
"type" : "string",
"index" : "analyzed",
"analyzer":"string_lowercase"
}
}
}
],
"_routing": {"required": true, "path": "userId"},
"properties":{
"userId":{"type":"long"},
"prop": {"type": "nested"}
,"campaign": {"type": "nested"},
"category": {"type": "nested"},
"product": {"type": "nested"},
"brand": {"type": "nested"},
"event": {"type": "nested"}
}
}
}
Also set heap Size configuration and other ulimit
What i m doing wrong That I m getting let response from response
--
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/a644d931-3a98-4cd1-95c1-d88d755c6dfc%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/a644d931-3a98-4cd1-95c1-d88d755c6dfc%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/0c1ccbba-4f24-43d1-b7db-178b161a2cac%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .