- 后台启动
bin/elasticsearch -f
bin/elasticsearch -f -Xmx2g -Xms2g -Des.index.store.type=memory
- http设置和关闭
Setting | Description |
---|---|
|
A bind port range. Defaults to |
|
The max content of an HTTP request. Defaults to |
|
The max length of an HTTP URL. Defaults to |
|
Support for compression when possible (with Accept-Encoding). Defaults to |
|
Defines the compression level to use. Defaults to |
关闭http模块 http.enabled
- 同时查询多个索引
设置
(
test1,test2,test3
(
_all
查询全部索引)设置ignore_indices
忽略不存在的索引
忽略不存在的索引
- 常用选项
?pretty=true
json标准格式输出
json标准格式输出
format=yaml
human=true
对于时间容量等内容处理
对于时间容量等内容处理