Elasticsearch
来源:互联网 发布:cfca 网络身份认证平台 编辑:程序博客网 时间:2024/06/09 17:04
基本配置
script.engine.groovy.inline.update: on
script.engine.groovy.inline.aggs: onindex.mapper.dynamic: true
index.query.bool.max_clause_count: 3000
cluster.name: zjlp-es-cluster
node.name: zjlp-es-node-01
path.data: /opt/es/elasticsearch-data/data
path.logs: /opt/es/elasticsearch-data/logs
network.host: 192.168.0.151
discovery.zen.ping.unicast.hosts: ["Master", "Slave1","Slave2","Slave3"]
mapping:
es_host="192.168.175.11:9200"
curl -XDELETE ${es_host}'/relation'
curl -XPUT ${es_host}'/relation' -d '{
"settings" : {
"index" : {
"number_of_shards" : 60,
"number_of_replicas" : 0
}
},
"mappings": {
"docs": {
"_all" : {
"enabled" : false
},
"properties": {
"username": {
"type": "string",
"index": "not_analyzed"
},
"userId": {
"type": "long",
"index": "not_analyzed"
},
"friendType": {
"type": "integer",
"index": "not_analyzed"
}
}
}
}
}'
- ElasticSearch
- Elasticsearch
- Elasticsearch
- ElasticSearch
- elasticSearch
- elasticsearch
- Elasticsearch
- ELasticsearch
- Elasticsearch
- ElasticSearch
- elasticsearch
- Elasticsearch
- Elasticsearch
- elasticsearch
- Elasticsearch
- Elasticsearch
- Elasticsearch
- elasticsearch
- 面向对象程序设计上机练习八(对象数组)
- C#之XML基础 节点.innertext,为标签添加内容
- python中self和cls
- shell变量、重定向、管道
- 算法导论--红黑树的维持平衡
- Elasticsearch
- 【HDU 2601 】
- userAgent获取浏览器信息
- Codeforces Round #369 (Div. 2) C 四维dp
- Java概述
- past.deploy
- C#之XML基础 输出标签的内容
- 【可视化】div背景半透明
- String MD5 encrypt