#基本查询
GET /movies/_search?q=2012&df=title&sort=year:desc&from=0&size=10&timeout=1s #带profile
GET /movies/_search?q=2012&df=title
{
"profile":"true"
} #泛查询,正对_all,所有字段
GET /movies/_search?q=2012
{
"profile":"true"
} #指定字段
GET /movies/_search?q=title:2012&sort=year:desc&from=0&size=10&timeout=1s
{
"profile":"true"
} # 查找美丽心灵, Mind为泛查询
GET /movies/_search?q=title:Beautiful Mind
{
"profile":"true"
} # 泛查询
GET /movies/_search?q=title:2012
{
"profile":"true"
} #使用引号,Phrase查询
GET /movies/_search?q=title:"Beautiful Mind"
{
"profile":"true"
} #分组,Bool查询
GET /movies/_search?q=title:(Beautiful Mind)
{
"profile":"true"
} #布尔操作符
# 查找美丽心灵
GET /movies/_search?q=title:(Beautiful AND Mind)
{
"profile":"true"
} # 查找美丽心灵
GET /movies/_search?q=title:(Beautiful NOT Mind)
{
"profile":"true"
} # 查找美丽心灵
GET /movies/_search?q=title:(Beautiful %2BMind)
{
"profile":"true"
} #范围查询 ,区间写法
GET /movies/_search?q=title:beautiful AND year:[2002 TO 2018%7D
{
"profile":"true"
} #通配符查询
GET /movies/_search?q=title:b*
{
"profile":"true"
} //模糊匹配&近似度匹配
GET /movies/_search?q=title:beautifl~1
{
"profile":"true"
} GET /movies/_search?q=title:"Lord Rings"~2
{
"profile":"true"
}

最新文章

  1. 一些js 插件的作用
  2. window 链接方式
  3. C++ 实现Range类,用于常规遍历
  4. modelsim仿真xilinx mig ip core相关问题
  5. NOIP2016 D1T1 玩具迷題(toy)
  6. 简单易懂的现代魔法——Play Framework攻略1
  7. php引入公用部分html出现了一行空白(原创)
  8. Android Thread和AsyncTask
  9. ckplayer,超酷网页播放器,用于集成在网站中的播放器
  10. Linux远程桌面工具 -- NoMachine
  11. hightcharts在移动端运用 FastClick后苹果上legend点击失效的解决办法
  12. 译-HTTP-GET HTTP-POST SOAP protocol for ASP.NET services的异同
  13. R实战 第三篇:数据处理(基础)
  14. intel-hadoop/HiBench流程分析----以贝叶斯算法为例
  15. 使用jconsole分析内存情况-JVM
  16. 简单的Array.sort 排序方法
  17. hive中的分桶表
  18. 支付宝电脑支付沙箱配置(JAVA)
  19. 【nodejs】使用response输出中文但页面中文乱码的处置
  20. JVM监控添加参数

热门文章

  1. python解决“failed to execute pyi_rth_pkgres”问题
  2. nginx概述及配置
  3. 10 Dubbo 配置实战
  4. kubernetes 静态存储与动态存储
  5. NOI / 2.5基本算法之搜索-6044:鸣人和佐助详解
  6. github访问较慢问题初步解决方案
  7. mysql常见用法
  8. beego下让swagger按照更新了controllers的接口信息自动更新commentsRouter_controllers.go
  9. 记Windows服务器Redis 6379被攻击 被设置主从模式同步项目数据
  10. Express 使用 Cookie