• elasticsearch对可能破坏性的操作限制通配符

    PUT _cluster/settings?master_timeout=5m { "transient": { "action.destructive_requires_name": true } }

  • 数据类型对es bulk的影响

    共14912997 数据,就一个字段, 平均31bytes, 里面有平均7个token 把字符串按mapping转成integer ; 1 shard merge后291.4m es cpu time 12m hangout user time 8m search 98ms string ; 1 shars merge后325.2m es cpu time 13m10s hangout user...

  • elasticsearch中限制搜索超时时间

    PUT _cluster/settings { "transient": {"search.default_search_timeout":"250s"} }

  • vim下调整splited窗口大小

    设置高度 :resize 60 设置宽度 :vertical resize 1000 调整高度 :resize +10 :resize -10 快捷调整 Ctrl-w + 和 Ctrl-w - 可以快速调整窗口高度. Ctrl-w > 和 Ctrl-w < 可以快速调整窗口宽度. 10 Ctrl-w + 可以一次增加10行的高度. Ctrl-w...

  • 今日单词

    mandatory /ˈmændətərɪ; US -tɔːrɪ; `mændəˌtɔrɪ/ adj required by law; compulsory; 依法的;法定的;强制性的 a mandatory payment Attendance is mandatory at all meetings.

  • 今日单词

    incarnation /ˌɪnkɑːˈneɪʃn; ˌɪnkɑr`neʃən/ n [C] person that prominently displays a particular quality (突出表现某种品质的)典型人物,化身 She is the very incarnation of goodness. n [C,U] (instance of) being alive in human form 化身...

  • Makefile 中四种变量赋值的不同

    http://stackoverflow.com/questions/448910/makefile-variable-assignment Lazy Set VARIABLE = value 当变量被用到的时候, 会递归的展开 Imeediate Set VARIABLE := value 变量在申明的时候马上执行 Set If Absent VARIABLE ?= value 变量不存在的时候才赋值(也是lazy set) Append VARIABLE += value 把value添加到已存在的变量后(如果变量不存在, 把value赋值给这个变量)

  • 今日单词

    obscurity This is an obscurity that catches the unwary. /əbˈskjʊərətɪ; əb`skjᴜrətɪ/ n U state of being obscure 不明;费解;隐晦;无闻 content to live in obscurity n C thing that is obscure or...

  • 规则长什么样子

    https://www.gnu.org/software/make/manual/html_node/Rule-Introduction.html 一个简单的makefile包含下面这样的一个或者多个规则 target … : prerequisites … recipe … … A target is usually the name of a file that is generated by a program; examples of targets are executable...

  • Makefile 简介

    https://www.gnu.org/software/make/manual/html_node/Introduction.html make需要一个Makefile, Makefile告诉make如何编译和链接. 这章会讨论一个简单的makefile, 描述了如何编译和链接一个文本编辑器程序,此程序由8个C文件和3个头文件组成. make重新编译程序的时候, 会保证每一个有新变化的C文件被重新编译, 如果头文件有变动, 每个包含这个头文件的C文件也需要重新编译. 每个编译会生成一个对象文件, 然后再把所有对象文件链接生成新的可执行程序. 规则简介 规则长什么样子 简单的makefile文件 make如何工作 make是如何解析和执行makefile的 使用变量 变量让makefile更简单 make中的推断 让make推断recipe(怎么翻译?) 先决条件的组合 另一个风格的makefile 清理 清理目录的规则