小编Ank*_*kit的帖子

Elasticsearch超时为true,但仍会得到结果

我将搜索查询的超时设置为10毫秒,因此我希望Elasticsearch搜索查询的超时应在10毫秒内。

在响应中,我确实得到了,"timed_out":true但查询似乎没有超时。它仍然运行几百毫秒。

样本回复:

{
    "took": 460,
    "timed_out": true,
....
Run Code Online (Sandbox Code Playgroud)

这是预期的行为还是我在这里错过了一些东西?我的目标是终止查询,如果它花费的时间太长,以至于它不会对群集造成负担。

elasticsearch

3
推荐指数
1
解决办法
1271
查看次数

链接点击后出现虚线边框

单击时,超链接周围会出现虚线边框.我想删除链接周围出现的虚线边框(仅在firefox中发生).我将以下样式应用于锚标记:

a, a:hover, a:link, a:active {
    text-decoration: none;
    color: #777777;
}
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

链接显示正常>单击链接>此框出现>在外面的某处单击时关闭

网址:http://www.boxleak.in/ritgan

PS:Bootstrap也包括在内.

css css3 twitter-bootstrap-3

2
推荐指数
1
解决办法
1985
查看次数

标签 统计

css ×1

css3 ×1

elasticsearch ×1

twitter-bootstrap-3 ×1