我的查询是这样的:
{
"query": {
"filtered": {
"filter": {
"bool": {
"must": [
{
"term": {
"online": 1
}
},
{
"terms": {
"mediaType": "flash"
}
}
]
}
}
}
}
}
Run Code Online (Sandbox Code Playgroud)
它引发了一个QueryParsingException [[comos_v2] [terms]过滤器不支持[mediaType]],其中"mediaType"字段在映射中确实不存在.我的问题是为什么术语过滤器不会引发异常?
logringate我比较新.当配置到属性"dateformat"时,似乎logrotate不支持strftime"%H".这是配置:
{
daily
rotate 2
size 3M
missingok
notifempty
dateext
dateformat -%Y%m%d_%H:%M:%S
...
}
Run Code Online (Sandbox Code Playgroud)
旋转的文件格式看起来像:uwsgi_dev.log-20150630_%H:%M:%S,但我想要精确的"小时分和秒".
谢谢
我安装了erlang(erlang-20.3.7-1.el7.centos.x86_64.rpm),安装了rabbimq(rabbitmq-server-3.7.6).当我检查节点状态时,rabbitmqctl收到了粉碎消息.我丢了什么东西?很多赞美!
=INFO REPORT==== 20-Jun-2018::11:11:00.813218 ===
application: logger
exited: {{shutdown,
{failed_to_start_child,'Elixir.Logger.ErrorHandler',noproc}},
{'Elixir.Logger.App',start,[normal,[]]}}
type: temporary
Could not start application logger: Logger.App.start(:normal, []) returned an error: shutdown: failed to start child: Logger.ErrorHandler
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
Run Code Online (Sandbox Code Playgroud)