{
"size": 100,
"query": {
"bool": {
"must_not": [
{
"exists": {
"field": "fieldname"
}
}
]
}
}
}
{
"size": 0,
"aggs": {
"adsa": {
"terms": {
"field": "fieldname.keyword",
"size": 100000
}
}
}
}
git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
npm install
npm run start
network.host: 0.0.0.0
transport.host: 127.0.0.1
http.host: 0.0.0.0
http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length
/usr/share/elasticsearch
sudo bin/elasticsearch-plugin list
sudo bin/elasticsearch-plugin install repository-azure
/etc/elasticsearch