Elasticsearch:业务索引、映射与查询参数
采集时间:2026-09-18T12:51:31.971849+00:00;来源:只读结构元数据。原始临时快照:elasticsearch.json;SHA-256:7e6860388265afe3f723782d33b878c136e875fd4c6b48256d416f729c74e854。
服务端版本:7.17.6;采集范围为 open 索引 mapping 与 alias,未读取文档数据,未覆盖 closed 索引。
业务索引按完整 mapping 内容分组,相同结构只列一次;月份仍逐一保留以便核对类型漂移。其他系统、监控和归属未明索引仅登记名称,不展开与本次业务无关的字段。字段索引、物理索引名、分片数含义不同,业务条件见查询与分区指南。
| 业务索引 | 字段路径数 | 别名 | mapping 分组 |
|---|---|---|---|
| apk_push_history | 9 | apk_push_history_alias | 结构 |
| app_install_device | 9 | 无 | 结构 |
| app_install_device202503 | 9 | ee_default_alias | 结构 |
| app_install_device202504 | 9 | ee_default_alias | 结构 |
| app_install_device202505 | 9 | ee_default_alias | 结构 |
| app_install_device202506 | 9 | ee_default_alias | 结构 |
| app_install_device202507 | 9 | ee_default_alias | 结构 |
| app_install_device202508 | 9 | ee_default_alias | 结构 |
| app_install_device202509 | 9 | ee_default_alias | 结构 |
| app_install_device202510 | 9 | ee_default_alias | 结构 |
| app_install_device202511 | 9 | ee_default_alias | 结构 |
| app_install_device202512 | 9 | ee_default_alias | 结构 |
| app_install_device202601 | 18 | ee_default_alias | 结构 |
| app_install_device202602 | 13 | 无 | 结构 |
| app_install_device202603 | 13 | 无 | 结构 |
| app_install_device202604 | 13 | 无 | 结构 |
| app_install_device202605 | 13 | 无 | 结构 |
| app_install_device202606 | 13 | 无 | 结构 |
| app_install_device202607 | 13 | 无 | 结构 |
| app_install_device202608 | 13 | 无 | 结构 |
| app_install_device202609 | 13 | 无 | 结构 |
| app_install_device_s0 | 9 | ee_default_alias | 结构 |
| base_device | 48 | ee_default_alias | 结构 |
mapping-1
适用索引:apk_push_history。
映射顶层选项:{}。
| 字段路径(含 multi-field) | 类型 | 实际 mapping 参数 |
|---|---|---|
| cpuid | keyword | {"type": "keyword"} |
| id | long | {"type": "long"} |
| mac | text | {"analyzer": "mac_analyzer", "type": "text"} |
| mac.keyword | keyword | {"ignore_above": 255, "type": "keyword"} |
| package_name | text | {"analyzer": "standard", "type": "text"} |
| package_name.keyword | keyword | {"ignore_above": 255, "type": "keyword"} |
| push_task_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| uninstall_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| version_code | long | {"type": "long"} |
mapping-2
适用索引:app_install_device、app_install_device202503、app_install_device202504、app_install_device202505、app_install_device202506、app_install_device202508、app_install_device202509、app_install_device202510、app_install_device202511、app_install_device202512、app_install_device_s0。
映射顶层选项:{}。
| 字段路径(含 multi-field) | 类型 | 实际 mapping 参数 |
|---|---|---|
| app_count | long | {"type": "long"} |
| apps | text | {"analyzer": "ik_max_word", "type": "text"} |
| apps.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| cpu_id | keyword | {"type": "keyword"} |
| create_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| last_undate_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| mac | text | {"analyzer": "standard", "type": "text"} |
| mac.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| update_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
mapping-3
适用索引:app_install_device202507。
映射顶层选项:{}。
| 字段路径(含 multi-field) | 类型 | 实际 mapping 参数 |
|---|---|---|
| app_count | long | {"type": "long"} |
| apps | text | {"analyzer": "ik_max_word", "type": "text"} |
| apps.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| cpu_id | keyword | {"type": "keyword"} |
| create_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| last_undate_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| mac | text | {"analyzer": "mac_analyzer", "type": "text"} |
| mac.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| update_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
mapping-4
适用索引:app_install_device202601。
映射顶层选项:{}。
| 字段路径(含 multi-field) | 类型 | 实际 mapping 参数 |
|---|---|---|
| appCount | long | {"type": "long"} |
| app_count | long | {"type": "long"} |
| apps | text | {"analyzer": "ik_max_word", "type": "text"} |
| apps.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| cpuId | text | {"type": "text"} |
| cpuId.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| cpu_id | keyword | {"type": "keyword"} |
| createTime | text | {"type": "text"} |
| createTime.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| create_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| lastUndateTime | text | {"type": "text"} |
| lastUndateTime.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| last_undate_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| mac | text | {"analyzer": "standard", "type": "text"} |
| mac.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| updateTime | text | {"type": "text"} |
| updateTime.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| update_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
mapping-5
适用索引:app_install_device202602、app_install_device202603、app_install_device202604、app_install_device202605、app_install_device202606、app_install_device202607、app_install_device202608、app_install_device202609。
映射顶层选项:{}。
| 字段路径(含 multi-field) | 类型 | 实际 mapping 参数 |
|---|---|---|
| app_count | long | {"type": "long"} |
| apps | text | {"type": "text"} |
| apps.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| cpu_id | text | {"type": "text"} |
| cpu_id.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| create_time | text | {"type": "text"} |
| create_time.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| last_undate_time | text | {"type": "text"} |
| last_undate_time.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| mac | text | {"type": "text"} |
| mac.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| update_time | text | {"type": "text"} |
| update_time.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
mapping-6
适用索引:base_device。
映射顶层选项:{}。
| 字段路径(含 multi-field) | 类型 | 实际 mapping 参数 |
|---|---|---|
| activation_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| brand | keyword | {"type": "keyword"} |
| build | text | {"analyzer": "standard", "type": "text"} |
| build.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| certification | keyword | {"type": "keyword"} |
| channel_id | long | {"type": "long"} |
| channel_name | text | {"analyzer": "ik_max_word", "type": "text"} |
| channel_name.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| company_id | integer | {"type": "integer"} |
| cpu | keyword | {"type": "keyword"} |
| create_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| ddr | keyword | {"type": "keyword"} |
| deleted | boolean | {"type": "boolean"} |
| device_ip | text | {"analyzer": "standard", "type": "text"} |
| device_ip.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| device_model | text | {"analyzer": "ik_max_word", "type": "text"} |
| device_model.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| excel_file_ids | keyword | {"type": "keyword"} |
| ip_address | text | {"analyzer": "ik_max_word", "type": "text"} |
| ip_address.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| mac | text | {"analyzer": "mac_analyzer", "type": "text"} |
| mac.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| master_model | text | {"type": "text"} |
| master_model.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| model_id | integer | {"type": "integer"} |
| name | text | {"analyzer": "standard", "type": "text"} |
| name.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| order_number | keyword | {"type": "keyword"} |
| pcb_model | text | {"type": "text"} |
| pcb_model.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| production_order | text | {"type": "text"} |
| production_order.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| real_ddr | text | {"type": "text"} |
| real_ddr.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| real_flash | text | {"type": "text"} |
| real_flash.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| region_id | long | {"type": "long"} |
| remarks | keyword | {"type": "keyword"} |
| sdk_version_name | text | {"analyzer": "standard", "type": "text"} |
| sdk_version_name.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| serial_number | keyword | {"type": "keyword"} |
| status | integer | {"type": "integer"} |
| system_version | text | {"analyzer": "standard", "type": "text"} |
| system_version.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| ui | text | {"analyzer": "ik_max_word", "type": "text"} |
| ui.keyword | keyword | {"ignore_above": 256, "type": "keyword"} |
| update_time | date | {"format": "yyyy-MM-dd HH:mm:ss", "type": "date"} |
| user_id | long | {"type": "long"} |
分片、分析器与排序设置
补采时间:2026-09-18T13:33:23.957881+00:00;快照:es-query-settings.json;SHA-256:aa48bc59912c8ca3239472d459463a1ee7af8f4d08f868364e8d03abc7e1c72f;状态:ok。
| 索引 | 主分片 | 副本 | mac_analyzer | 显式 index.sort |
|---|---|---|---|---|
| apk_push_history | 1 | 0 | pattern,分隔符冒号 | {} |
| app_install_device | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202503 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202504 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202505 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202506 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202507 | 1 | 0 | pattern,分隔符冒号 | {} |
| app_install_device202508 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202509 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202510 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202511 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202512 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202601 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202602 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202603 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202604 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202605 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202606 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202607 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202608 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device202609 | 1 | 1 | pattern,分隔符冒号 | {} |
| app_install_device_s0 | 1 | 1 | 未返回 | {} |
| base_device | 1 | 0 | pattern,分隔符冒号 | {} |
本次返回的分配策略为 index.routing.allocation.include._tier_preference=data_content,是节点分配设置,不是文档 routing 字段。未返回 index.sort.* 不代表请求没有排序。未采集 max_result_window,不能把代码的分页阈值当作服务端实测配置。
其他开放索引:仅登记范围
| 索引 | 别名 |
|---|---|
| .apm-agent-configuration | 无 |
| .apm-custom-link | 无 |
| .async-search | 无 |
| .fleet-policies-7 | .fleet-policies |
| .items-default-000001 | .items-default |
| .kibana_7.17.6_001 | .kibana, .kibana_7.17.6 |
| .kibana_task_manager_7.17.6_001 | .kibana_task_manager, .kibana_task_manager_7.17.6 |
| .lists-default-000001 | .lists-default |
| .metrics-endpoint.metadata_united_default | 无 |
| .security-7 | .security |
| .tasks | 无 |
| .transform-internal-007 | .data-frame-internal-3 |
| document_s1 | ee_default_alias |
| ee-distribute-lock | 无 |
| metrics-endpoint.metadata_current_default | 无 |
| sw_browser_error_log-20250701 | sw_browser_error_log |
| sw_browser_error_log-20250702 | sw_browser_error_log |
| sw_log-20250701 | sw_log |
| sw_log-20250702 | sw_log |
| sw_management | 无 |
| sw_metrics-all-20250701 | sw_metrics-all |
| sw_metrics-all-20250702 | sw_metrics-all |
| sw_records-all-20250701 | sw_records-all |
| sw_records-all-20250702 | sw_records-all |
| sw_segment-20250701 | sw_segment |
| sw_segment-20250702 | sw_segment |
| sw_zipkin_span-20250701 | sw_zipkin_span |
| sw_zipkin_span-20250702 | sw_zipkin_span |
ee_default_alias 成员既包含业务月份索引,也包含 document_s1,且未覆盖全部已存在月份。不能用这个别名直接代表完整业务历史。上方两张清单共同保留所有开放索引的别名成员关系;未导出别名过滤条件和写索引标记。