curl -XPUT https://newsai:@search1.newsai.org/_cluster/settings -d '{"persistent" : {"threadpool.bulk.queue_size" : 100000}}'
curl -XPUT "https://newsai:@search1.newsai.org/contacts/_settings" -d '{"index" : {"max_result_window" : 500000 }}'
Adding map to index
curl -PUT https://newsai:@search1.newsai.org/emails/email -d '{
"settings" : {
"number_of_shards" : 1
},
"mappings" : {
"type1" : {
"properties" : {
"field1" : { "type" : "string", "index" : "not_analyzed" }
}
}
}
}'
Add mapping to type
curl -PUT https://newsai:@search1.newsai.org/emails/email -d '{
"mappings" : {
"type1" : {
"properties" : {
"field1" : { "type" : "string", "index" : "not_analyzed" }
}
}
}
}'
- Turn off nginx (
sudo service nginx stop
) - Renew certificate (
./certbot-auto renew
) - Turn on nginx (
sudo service nginx start
)