“慢生活”不是懒惰,放慢速度不是拖延时间,而是让我们在生活中寻找到平衡。网站首页程序人生
在安卓中实现麦克风录音并监听音量大小改变麦克风图标音量大小
发布时间:2021-08-24 23:17:58作者:雪饮
![[!--pagekey--]](/d/file/manshenghuo/chengxurensheng/db7c5c331e699ebf4e17753c5980e941.jpg)
这次实践是基于一个录音功能上进行扩展ui的展示效果。那么开始录音如:public void startRecord() {
pause();
if (mMediaRecorder == null)
elasticSearch参数ignore_unavailable与allow_no_indices的区别
发布时间:2021-08-23 23:37:29作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
上篇有了解了docxignore_unavailable是为了匹配查询带有通配符的网址没有索引,这个参数是true值时将防止错误。像是下面这样:http://localhost:9200/schools_pri*/_search?all
阅读全文>>elasticSearch参数allow_no_indices的使用
发布时间:2021-08-23 23:10:22作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
首先我们看看这样两个请求:(1)http://localhost:9200/schools_pri*/_search?allow_no_indices=true post{ "query":{ "match_all":{} }}响应:{ "took": 0, "t
阅读全文>>elasticSearch的expand_wildcards查询
发布时间:2021-08-23 22:17:09作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
expand_wildcards设置是否扩展通配符到closed的index中,open表示只在匹配并为open的index中查询,closed表示在匹配的所有的index中查询, 默认为closed值为open,closed,none,all
阅读全文>>elasticSearch关闭索引(_close)
发布时间:2021-08-23 20:44:29作者:雪饮
![[!--pagekey--]](/d/file/manshenghuo/chengxurensheng/929b7eeb8982c241596ce39e51743ee2.png)
要关闭一个elasticSearch索引很简单,关闭一个索引其实是对索引的一个状态操作,而并不是删除,删除后索引就彻底没有了。关闭elasticSearch的索引请求如:http://localhost:9200/sc
阅读全文>>