Thanks for you replay Mark, "active": { "primaries": { "fielddata": { "memory_size_in_bytes": 77076457764, "evictions": 0, "fields": { "commentsCount": { "memory_size_in_bytes": 2416090508 }, "_uid": { "memory_size_in_bytes": 46517210860 }, "sourceTimeUnit": { "memory_size_in_bytes": 4160954108 }, "likesCount": { "memory_size_in_bytes": 4225460468 }, "imageCount": { "memory_size_in_bytes": 435807840 }, "geo": { "memory_size_in_bytes": 19320933980 } } } }, "total": { "fielddata": { "memory_size_in_bytes": 90893341516, "evictions": 0, "fields": { "commentsCount": { "memory_size_in_bytes": 2661775356 }, "_uid": { "memory_size_in_bytes": 55220225456 }, "sourceTimeUnit": { "memory_size_in_bytes": 4846336504 }, "likesCount": { "memory_size_in_bytes": 4712145912 }, "imageCount": { "memory_size_in_bytes": 517060176 }, "geo": { "memory_size_in_bytes": 22935798112 } } } } },
we got field data usage by using GET /_stats/fielddata?fields=* in this result total is more than primaries, so i thought maybe some replica load data to field data too. (cause some query will send to replica shard) 在 2015年5月4日星期一 UTC+8下午4:50:38,Junheng Gong写道: > > we have about 2.2B data in our elasticsearch, and we using facet and > function score query on those data. > > it will load many data to fielddata, and replica double it. > > so my question is "how to set replica to make sure it won't use field data > expect primary shard down"? > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8928f963-47c9-478f-acbb-5b594cd4a9ff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.