# 5.5.1 post count compare with 1.7.1

**URL:** https://discuss.elastic.co/t/5-5-1-post-count-compare-with-1-7-1/96896
**Category:** Elasticsearch
**Created:** [August 14, 2017, 2:55am UTC](https://discuss.elastic.co/t/5-5-1-post-count-compare-with-1-7-1/96896 "2017-08-14T02:55:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![yaoqijun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaoqijun/32/32028_2.png) [@yaoqijun](https://discuss.elastic.co/u/yaoqijun)
#### Post date: [August 14, 2017, 2:55am UTC](https://discuss.elastic.co/t/5-5-1-post-count-compare-with-1-7-1/96896/1 "2017-08-14T02:55:20Z")

</div>

i want test post count between es-5.5.1 version and es-1.7.1 version  
i user java client in document.  
download 1.7. and 5.5.1 version, and execute in single.  
in five minutes, 1.7 has 356260 success post. but 5.5.1 only have 63183 success post.

5.5.1 version seems more slower. did any one test it ? any param should config ?

is has different default config param between 1.7 and 5.5.1， it make me confuse.

---

<div class="post-metadata">

### Author: ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)
#### Post date: [August 24, 2017, 8:40pm UTC](https://discuss.elastic.co/t/5-5-1-post-count-compare-with-1-7-1/96896/2 "2017-08-24T20:40:39Z")

</div>

Please share your query and mappings.

---

<div class="post-metadata">

### Author: ![yaoqijun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaoqijun/32/32028_2.png) [@yaoqijun](https://discuss.elastic.co/u/yaoqijun)
#### Post date: [September 12, 2017, 10:11am UTC](https://discuss.elastic.co/t/5-5-1-post-count-compare-with-1-7-1/96896/3 "2017-09-12T10:11:11Z")

</div>

this is mapping formatter,  
i start job , post teacher\_info by bulk in one minute, count success post.

i use 1.7.1 before, as develop, it has more timeout search,

i want to upgrade es, i write simple test count post, it make me confused.

here is mapping

```auto
{
    "teacher_info": {
        "properties": {
            "teacher_id": {
                "type": "long",
                "store": "no",
                "index": "not_analyzed"
            },
            "sex": {
                "type": "integer",
                "store": "no",
                "index": "not_analyzed"
            },
            "is_qingqing_teacher": {
                "type": "boolean",
                "store": "no",
                "index": "not_analyzed"
            },
            "phone_number": {
                "type": "string",
                "store": "no",
                "index": "analyzed"
            },
            "real_name": {
                "type": "string",
                "store": "no",
                "index": "analyzed"
            },
            "teacher_course_infos": {
                "type": "nested",
                "properties": {
                    "grade_id": {
                        "type": "integer",
                        "store": "no",
                        "index": "not_analyzed"
                    },
                    "site_type": {
                        "type": "integer",
                        "store": "no",
                        "index": "not_analyzed"
                    },
                    "course_price": {
                        "type": "double",
                        "store": "no",
                        "index": "not_analyzed"
                    }
                }
            },
            "teacher_districts": {
                "type": "nested",
                "properties": {
                    "district_id": {
                        "type": "integer",
                        "store": "no",
                        "index": "not_analyzed"
                    },
                    "district_name": {
                        "type": "string",
                        "store": "no",
                        "index": "analyzed"
                    }
                }
            },
            "min_price": {
                "type": "double",
                "store": "no",
                "index": "not_analyzed"
            },
            "max_price": {
                "type": "double",
                "store": "no",
                "index": "not_analyzed"
            },
            "teach_content_phrases": {
                "type": "string",
                "store": "no",
                "index": "analyzed",
                "fields": {
                    "raw": {
                        "type": "string",
                        "store": "no",
                        "index": "not_analyzed"
                    }
                }
            },
            "teacher_successful_cases": {
                "type": "nested",
                "properties": {
                    "cases_title": {
                        "type": "string",
                        "store": "no",
                        "index": "analyzed"
                    },
                    "cases_content": {
                        "type": "string",
                        "store": "no",
                        "index": "analyzed"
                    }
                }
            },
            "teach_experiences": {
                "type": "nested",
                "properties": {
                    "teach_experience_title": {
                        "type": "string",
                        "store": "no",
                        "index": "analyzed"
                    },
                    "teach_experience_description": {
                        "type": "string",
                        "store": "no",
                        "index": "analyzed"
                    }
                }
            }
        }
    }
}

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 10, 2017, 10:11am UTC](https://discuss.elastic.co/t/5-5-1-post-count-compare-with-1-7-1/96896/4 "2017-10-10T10:11:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
