Elastic Certified Engineer 认证及考点

2020-11-19  本文已影响0人  caster

1. ECE考试介绍

ECE指elastic公司于2018年6月29号推出的elastic certified engineer认证考试。

报考方式及考试注意事项:

  1. 官网注册报名 ,缴费
  2. PSI系统预约时间考试(注意选择时区),远程在线考试
  3. 提前15分钟进PSI系统配合监考官检查环境
  4. 和监考官打字聊天,需要共享桌面语音和摄像头
  5. 可以使用google翻译,和监考官商量,进去桌面直接浏览器输入谷歌翻译网址即可,也建议使用chrome自带的翻译工具
谷歌浏览器自带翻译插件
  1. 考试系统web界面上有一排按钮,需要全部点绿进行声音,摄像头,桌面分享,按监考人员指挥缓慢操作
  2. 有些题目只需要保存是环境即可,有些题目需要复制json到答题框,不要复制url(跨集群检索需要复制url)
  3. Youtube两期官方考试介绍研讨会的视频要看一下,是es官方人员对考试的两次介绍,非常有用

2. 官网英文考纲

2.1. Installation and Configuration

2.2. Indexing Data

2.3. Queries

2.4. Aggregations

2.5. Mappings and Text Analysis

2.6. Cluster Administration

3. 对应中文考纲

3.1 安装与配置

//节点属性
node.name: sinan04
node.master: true
node.data: true
node.ingest: true
node.ml: false
cluster.remote.connect: false
//allocate
node.attr.zone: zone2
node.attr.type: warm
//快照
path.repo: ["/home/caster/repo"]
//禁止内存交换/锁内存
swapoff -a
vim /etc/security/limits.conf
* hard memlock unlimited
* soft memlock unlimited
bootstrap.memory_lock: true
action.destructive_requires_name: true
//开启安全,考试集群有白金权限无需配置SSL
xpack.security.enabled: true

3.2 索引数据

search template
match_mapping_type: 匹配类型
match/unmatch:匹配字段名
match_pattern:正则匹配

3.3 查询

3.4 聚合

3.5 映射和文本分析

PUT myindex
{
  "settings": {
    "number_of_replicas": 1,
    "analysis": {
      "analyzer": {//分词器配置
        "my_analyzer": {//自定义分词器名称,含有a,b,c三部分
          "type": "custom",
          "tokenizer": "standard",
          "filter": [
            "my_synonym",
            "my_low",
            "my_filter"
          ],
          "char_filter": [
            "my_char_filter"
          ]
        }
      },
      "tokenizer": {},//a
      "filter": {//b
        "my_synonym": {//设置同义词
          "type": "synonym",
          "synonyms": [
            "foo,bar"
          ]
        },
        "my_low": {//转小写
          "type": "lowercase"
        },
        "my_filter": {//过滤长度5以下token
          "type": "length",
          "min": "5"
        }
      },
      "char_filter": {//c
        "my_char_filter": {//去掉单引号
          "type": "mapping",
          "mappings": [
            "'=>"
          ]
        }
      }
    }
  },
  "mappings": {
    "properties": {
      "text": {
        "type": "text",
        "analyzer": "my_analyzer"
      }
    }
  }
}

3.6 集群管理

上一篇下一篇

猜你喜欢

热点阅读