一.match 查询 1.match 之 match (按条件查询) GET zhifou/doc/_search { "query": { "match": { "from": "gu" } } } 2.match 之 match_all (查询全部) GET zhifou/doc/_search ...
分类:
其他好文 时间:
2020-02-02 19:22:06
阅读次数:
47
前提条件 不是所有的字段类型都能排序,只有下面两种类型可以 1.数字 2.日期 排序查询 sort 1.降序 desc GET zhifou/doc/_search { "query": { "match": { "from": "gu" } }, "sort": [ { "age": { "ord ...
分类:
编程语言 时间:
2020-02-02 19:18:11
阅读次数:
189
* [abc] a、b 或 c(简单类) [^abc] 任何字符,除了 a、b 或 c(否定) [a-zA-Z] a 到 z 或 A 到 Z,两头的字母包括在内(范围) [a-d[m-p]] a 到 d 或 m 到 p:[a-dm-p](并集) [a-z&&[def]] d、e 或 f(交集) [a ...
分类:
编程语言 时间:
2020-02-01 15:58:54
阅读次数:
77
界面布局: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_pare ...
分类:
移动开发 时间:
2020-02-01 10:19:26
阅读次数:
113
0x00 知识点 命令执行变量拼接 过滤bash用sh执行 内联执行 将反引号内命令的输出作为输入执行 ?ip=127.0.0.1;cat$IFS$9 命令执行的方法大抵是加上管道符或者分号,那么试试管道符 $IFS ${IFS} $IFS$1 //$1改成$加其他数字貌似都行 {cat,flag. ...
分类:
其他好文 时间:
2020-01-31 20:35:02
阅读次数:
136
Remember the story of Little Match Girl? By now, you know exactly what matchsticks the little match girl has, please find out a way you can make one s ...
分类:
编程语言 时间:
2020-01-31 10:39:41
阅读次数:
122
(一)ImageSwitcher之手机相册的滑动查看 首先在布局文件上加一个ImageSwitcher,设置它的宽度和高度为match_parent. 在主程序中:首先设置一个存储照片资源的数组,在设置一个index下标,和一个touchDownX和一个touchUpX. 在onCreat方法里首先 ...
分类:
其他好文 时间:
2020-01-30 22:55:47
阅读次数:
87
0x00 知识点 md5强类型的绕过 方法比较固定: POST: 任意文件下载 linux命令执行绕过 if (preg_match("/ls|bash|tac|nl|more|less|head|wget|tail|vi|cat|od|grep|sed|bzmore|bzless|pcre|pas ...
分类:
Web程序 时间:
2020-01-30 22:47:22
阅读次数:
237
Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+ ...
分类:
其他好文 时间:
2020-01-30 18:59:25
阅读次数:
58
oracle中使用merge into [TOC] DUAL表解释 在Oracle数据库中,dual是Oracle中的一个伪表,在Oracle数据库中的select语句的语法为: 即在使用select语句时,如果没有表名,就没办法执行查询,而当我们想查看当前时间 或者想计算出一个表达式例如 的值的时 ...
分类:
数据库 时间:
2020-01-30 10:01:07
阅读次数:
116