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