provide here my old index mapping
{
"dynamic": false,
"properties": {
"user_id": {
"type": "keyword"
},
"last_login_at": {
"type": "date"
},
"last_login_ip": {
"type": "keyword"
},
"last_login_country": {
"type": "keyword"
},
"poa_status": {
"type": "keyword"
},
"ekyc_status": {
"type": "keyword"
},
"selfie_status": {
"type": "keyword"
},
"front_cc_status": {
"type": "keyword"
},
"back_cc_status": {
"type": "keyword"
},
"signup_ip": {
"type": "keyword"
},
"signup_country": {
"type": "keyword"
},
"signup_at": {
"type": "date"
},
"created_at": {
"type": "date"
},
"about_me": {
"type": "text",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"social_contacts": {
"type": "nested",
"properties": {
"provider": {
"type": "keyword"
},
"value": {
"type": "keyword"
}
}
},
"avatar": {
"type": "keyword"
},
"banner": {
"type": "keyword"
},
"caption": {
"type": "text",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"locale_lang": {
"type": "keyword"
},
"locale_currency": {
"type": "keyword"
},
"user_level": {
"type": "keyword"
},
"user_level_int": {
"type": "integer"
},
"gender": {
"type": "keyword"
},
"first_name": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
},
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"last_name": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
},
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"full_name": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
},
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"dob": {
"type": "keyword"
},
"dob_timestamp": {
"type": "date"
},
"email": {
"type": "text",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"mobile_number": {
"type": "text",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"account_type": {
"type": "keyword"
},
"international_dialing_code": {
"type": "keyword"
},
"mobile_country_code": {
"type": "keyword"
},
"buyer_ranking" : {
"type" : "integer"
},
"trust_level" : {
"type" : "integer"
},
"account_status": {
"type": "keyword"
},
"account_flags": {
"type": "keyword"
},
"reserve_amount": {
"type": "double"
},
"is_allow_withdraw": {
"type": "boolean"
},
"username": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"seller_status": {
"type": "keyword"
},
"verified_seller": {
"type": "keyword"
},
"seller_ranking": {
"type": "keyword"
},
"is_allow_upsert_offer": {
"type": "boolean"
},
"listing_threshold": {
"type": "integer"
},
"online_datetime": {
"type": "date"
},
"verified_seller_at": {
"type": "date"
},
"chat_setting": {
"type": "object"
},
"chat_setting.profile": {
"type": "keyword"
},
"relationship": {
"type": "keyword"
},
"address": {
"type": "object"
},
"address.address_1": {
"type": "text"
},
"address.address_2": {
"type": "text"
},
"address.city": {
"type": "text"
},
"address.country_iso2": {
"type": "text"
},"address.state": {
"type": "text"
},"address.zip": {
"type": "text"
},
"chat_settings": {
"type": "object"
},
"chat_settings.profile": {
"type": "text"
},
"is_no_signup_at": {
"type": "boolean"
},
"is_name_lock": {
"type": "boolean"
},
"is_dob_lock": {
"type": "boolean"
},
"updated_at": {
"type": "date"
},
"national_id_number": {
"type": "keyword"
},
"tax_number": {
"type": "keyword"
},
"is_national_id_number_lock": {
"type": "boolean"
},
"is_address_lock": {
"type": "boolean"
}
}
}
new index mapping
{
"dynamic": false,
"properties": {
"user_id": {
"type": "keyword"
},
"last_login_at": {
"type": "date"
},
"last_login_ip": {
"type": "keyword"
},
"last_login_country": {
"type": "keyword"
},
"poa_status": {
"type": "keyword"
},
"ekyc_status": {
"type": "keyword"
},
"selfie_status": {
"type": "keyword"
},
"sub_selfie_status": {
"type": "keyword"
},
"sub_ekyc_status": {
"type": "keyword"
},
"sub_front_cc_status": {
"type": "keyword"
},
"sub_back_cc_status": {
"type": "keyword"
},
"sub_poa_status": {
"type": "keyword"
},
"front_cc_status": {
"type": "keyword"
},
"back_cc_status": {
"type": "keyword"
},
"signup_ip": {
"type": "keyword"
},
"signup_country": {
"type": "keyword"
},
"signup_at": {
"type": "date"
},
"created_at": {
"type": "date"
},
"about_me": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"social_contacts": {
"type": "nested",
"properties": {
"provider": {
"type": "keyword"
},
"value": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
}
}
},
"avatar": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"banner": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"video": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"caption": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"locale_lang": {
"type": "keyword"
},
"locale_currency": {
"type": "keyword"
},
"user_level": {
"type": "keyword"
},
"user_level_int": {
"type": "integer"
},
"gender": {
"type": "keyword"
},
"first_name": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
},
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"last_name": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
},
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"full_name": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
},
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"dob": {
"type": "keyword"
},
"dob_timestamp": {
"type": "date"
},
"email": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"mobile_number": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"account_type": {
"type": "keyword"
},
"international_dialing_code": {
"type": "keyword"
},
"mobile_country_code": {
"type": "keyword"
},
"buyer_ranking": {
"type": "integer"
},
"trust_level": {
"type": "integer"
},
"account_status": {
"type": "keyword"
},
"account_flags": {
"type": "keyword"
},
"reserve_amount": {
"type": "double"
},
"is_allow_withdraw": {
"type": "boolean"
},
"username": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"seller_status": {
"type": "keyword"
},
"verified_seller": {
"type": "keyword"
},
"seller_ranking": {
"type": "keyword"
},
"is_allow_upsert_offer": {
"type": "boolean"
},
"listing_threshold": {
"type": "integer"
},
"online_datetime": {
"type": "date"
},
"verified_seller_at": {
"type": "date"
},
"relationship": {
"type": "keyword"
},
"address": {
"type": "object"
},
"address.address_1": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"address.address_2": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
}
}
},
"address.city": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"address.country_iso2": {
"type": "keyword"
},
"address.state": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"address.zip": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"chat_settings": {
"type": "object"
},
"chat_settings.profile": {
"type": "keyword"
},
"is_no_signup_at": {
"type": "boolean"
},
"is_name_lock": {
"type": "boolean"
},
"is_dob_lock": {
"type": "boolean"
},
"updated_at": {
"type": "date"
},
"national_id_number": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"tax_number": {
"type": "keyword",
"fields": {
"text": {
"type": "text",
"analyzer": "text_analyzer"
},
"keyword_lowercase": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
}
}
},
"is_national_id_number_lock": {
"type": "boolean"
},
"is_address_lock": {
"type": "boolean"
},
"privacy_settings": {
"type": "object"
},
"privacy_settings.is_accept_chat_profile": {
"type": "boolean"
},
"privacy_settings.is_accept_chat_offer": {
"type": "boolean"
},
"privacy_settings.is_show_followers_following": {
"type": "boolean"
},
"disbursement_group": {
"type": "integer"
},
"is_overwrite_disbursement_group": {
"type": "boolean"
},
"sub_account_status": {
"type": "keyword"
},
"is_account_restricted": {
"type": "boolean"
},
"is_phone_verified": {
"type": "boolean"
},
"is_email_verified": {
"type": "boolean"
},
"is_fd_verified": {
"type": "boolean"
}
}
}