Contents
  1. 1. baisc
  2. 2. install
  • kibana
  • baisc

    index → db
    type → table
    document → row

    https://www.cnblogs.com/TianFang/p/12945202.html
    text支持分词 keyword不进行分词

    install

    https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html

    node.name
    discovery.seed_hosts
    cluster.initial_master_nodes 集群中初始化的主节点

    network.host: 0.0.0.0
    http.port: 9200

    path.data
    path.log

    谁先启动谁讲成为master
    ./bin/elasticsearch -d -p pid
    stop
    pkill -F pid

    cd elasticsearch-
    ./bin/elasticsearch

    curl ‘http://localhost:9200/?pretty

    put 命令增加doc

    _doc单个
    _bulk多个
    _search搜索: 结果为json,且需要从hits字段提取结果

    kibana

    ./bin/kibana

    ip:5601