5.5.1 post count compare with 1.7.1


(yaoqijun) #1

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.


(Adrien Grand) #2

Please share your query and mappings.


(yaoqijun) #3

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

{
    "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"
                    }
                }
            }
        }
    }
}

(system) #4

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