摘要: 1、卸载重装,有自己的设置肯定是不想的,那么这第一条就需要给它 pass ,如果是你第一次安装或者是新电脑出现没选择的状况下,建议您直接卸载重装。 2、桌面创建一个 xxx.reg 的注册表文件 xxx 随便您命名,怎么开心怎么来,然后将下方的代码放入其中,保存运行即可。 Windows Regis 阅读全文
posted @ 2022-05-03 22:19 我就丶是逗比 阅读(290) 评论(0) 推荐(0)
摘要: ES7 默认的单节点 shards 数量是 1000 个分片,那么在我们默认3个集群下就是 3000 的 shards 数量,今天在创建索引时提示 shards 数量不足,那么就使用下方代码进行修改 shards 数量配置 PUT /_cluster/settings { "persistent": 阅读全文
posted @ 2021-12-31 14:18 我就丶是逗比 阅读(1329) 评论(0) 推荐(0)
摘要: 业务需求要在 ElasticSearch 中索引表中新增一个字段,直接使用 painless 操作 POST /index/_update_by_query { "script": { "lang": "painless", "inline": "if (ctx._source.type== nul 阅读全文
posted @ 2021-12-29 10:43 我就丶是逗比 阅读(311) 评论(0) 推荐(0)
摘要: where date_format(time,'%Y-%m-%d') = '2012-12-17' 阅读全文
posted @ 2021-12-17 16:05 我就丶是逗比 阅读(74) 评论(0) 推荐(0)
摘要: 1 /** 2 * [returnSquarePoint description] 3 * @param [type] $lng 精度 4 * @param [type] $lat 纬度 5 * @param float $distance 距离 以KM为单位 6 * @param integer 阅读全文
posted @ 2021-12-14 12:13 我就丶是逗比 阅读(242) 评论(0) 推荐(0)
摘要: Linux 安装 Elasticsearch 7.x Elasticsearch 官网:https://www.elastic.co/ Elasticsearch 下载地址:https://www.elastic.co/cn/downloads/elasticsearch Elasticsearch 阅读全文
posted @ 2021-12-06 20:28 我就丶是逗比 阅读(117) 评论(0) 推荐(0)
摘要: /etc/init.d/bt default 阅读全文
posted @ 2021-12-06 17:19 我就丶是逗比 阅读(1344) 评论(0) 推荐(0)
摘要: 方便快捷: 1、先删 $('#table').bootstrapTable('destroy'); 2、重新渲染 $('#table').bootstrapTable({...param}); 阅读全文
posted @ 2021-11-26 17:10 我就丶是逗比 阅读(643) 评论(0) 推荐(0)
摘要: WP_Tax_Query: https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-tax-query.php WP_Meta_Query: https://github.com/WordPress/WordPr 阅读全文
posted @ 2021-11-11 21:23 我就丶是逗比 阅读(72) 评论(0) 推荐(0)
摘要: DELETE /索引表名称/type类型/ID值 阅读全文
posted @ 2021-11-05 14:48 我就丶是逗比 阅读(416) 评论(0) 推荐(0)