mirror of
https://github.com/simon987/od-database.git
synced 2025-12-20 01:45:57 +00:00
Fix ES Settings
This commit is contained in:
15
README.md
15
README.md
@@ -71,6 +71,21 @@ server {
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
* Configure Elasticsearch
|
||||
```
|
||||
PUT _template/default
|
||||
{
|
||||
"index_patterns": ["*"],
|
||||
"order": -1,
|
||||
"settings": {
|
||||
"number_of_shards": "50",
|
||||
"number_of_replicas": "0",
|
||||
"codec" : "best_compression",
|
||||
"routing_partition_size" : 5
|
||||
}
|
||||
}
|
||||
```
|
||||
* Start uwsgi:
|
||||
```bash
|
||||
uwsgi od-database.ini
|
||||
|
||||
Reference in New Issue
Block a user