-
编译时提示 virtual memory exhausted: Cannot allocate memory
查看 Swap 交换区 free -m 输出: total used free shared b
2019-04-29, Views: 4202 , Topics: Linux
-
Linux 增加 Swap 交换分区解决内存不足
Swap 交换分区简介 当系统的物理内存不够用的时候,就需要将物理内存中的一部分空间释放出来,以供当前运行的程序使用,那些被释放的空间可能来自一些很长时间没有什
2019-04-29, Views: 3707 , Topics: Linux
-
Linux 配置 top 命令显示 swap
进入 top 命令 top 进入配置界面 按f Fields Management for window 1:Def, whose current sort f
2019-04-29, Views: 7024 , Topics: Linux
-
Linux 查看内存信息
指令 cat /proc/meminfo 输出: MemTotal: 1016200 kB MemFree: 156916 kB
2019-04-29, Views: 3458 , Topics: Linux
-
Elasticsearch health status 显示为 yellow 解决方法
查看 health curl -XGET "http://localhost:9200/_cluster/health?pretty=true" 返回: {
2019-04-26, Views: 12086 , Topics: Elasticsearch
-
PHP 使用 Zend OPcache 字节码缓存
CentOS 安装 sudo yum install php-opcache 常用配置 ;开启OPcache。 opcache.enable=1 ;CLI环境
2019-04-26, Views: 3516 , Topics: PHP
-
Elasticsearch 短语搜索 query->match_phrase
短语搜索 精确匹配一系列单词或者短语。 使用match_phrase curl -X GET "localhost:9200/megacorp/employ
2019-04-25, Views: 3787 , Topics: Elasticsearch 全文检索
-
Elasticsearch 全文搜索 query->match
全文搜索 query->match curl -X GET "localhost:9200/megacorp/employee/_search?prett
2019-04-25, Views: 2476 , Topics: Elasticsearch 全文检索
-
Elasticsearch 使用 filter 和 range 过滤器搜索
使用过滤器搜索 query->bool->must->match filter->range curl -X GET "localhos
2019-04-25, Views: 4115 , Topics: Elasticsearch 全文检索
-
Elasticsearch 使用查询表达式搜索
查询表达式搜索 query->match curl -X GET "localhost:9200/megacorp/employee/_search?pr
2019-04-25, Views: 3441 , Topics: Elasticsearch 全文检索
-
Elasticsearch 出现 circuit_breaking_exception 异常
异常信息 { "error" : { "root_cause" : [ { "type" : "circuit_brea
2019-04-25, Views: 17435 , Topics: Elasticsearch
-
Elasticsearch 轻量搜索 _search 和 q=
轻量搜索 使用_search curl -X GET "localhost:9200/megacorp/employee/_search?pretty=true
2019-04-25, Views: 4831 , Topics: Elasticsearch 全文检索
-
Elasticsearch 检索文档 GET
检索文档 使用GET指令 curl -X GET "localhost:9200/megacorp/employee/1?pretty=true" 输出: {
2019-04-25, Views: 2562 , Topics: Elasticsearch
-
Elasticsearch GET/PUT/DELETE/HEAD 指令
新增或更新 PUT 获取 GET 删除 DELETE 检查是否存在 HEAD
2019-04-25, Views: 3418 , Topics: Elasticsearch
-
Elasticsearch 插入数据 PUT
插入数据 使用PUT方法 curl -X PUT "localhost:9200/megacorp/employee/1" -H 'Content-Type:
2019-04-25, Views: 3984 , Topics: Elasticsearch
-
Elasticsearch 获取记录总数 _count
计算文档数量 _count curl -XGET "localhost:9200/_count?pretty" 输出: { "count" : 0, "
2019-04-25, Views: 12536 , Topics: Elasticsearch
-
Elasticsearch 使用 RESTful API 进行通信
说明 一个Elasticsearch请求和任何HTTP请求一样由若干相同的部件组成: curl -X<VERB> '<PROTOCOL>
2019-04-25, Views: 2730 , Topics: Elasticsearch curl
-
Elasticsearch 监控运行状态
监控运行状态 curl -X GET "localhost:9200/_cluster/health" 输出: {"cluster_name":"elastic
2019-04-25, Views: 3335 , Topics: Elasticsearch
-
Windows 使用 curl
下载地址 https://curl.haxx.se/download.html 选择Windows版本 配置环境变量 配置bin文件夹目录至pat中 使用 c
-
Elasticsearch 9200 端口和 9300 端口区别
9200 端口 9200是HTTP协议的RESTful接口。 9300 端口 9300是TCP通讯端口,集群间和TCPClient都走的它。
2019-04-25, Views: 6185 , Topics: Elasticsearch