elasticsearch 的 URL 查询
示例 GET /movies/_search?q=2012&df=title { "profile": true } # 泛查询 GET /movies/_search?q=2012 { "profile": true } # 指定字段查询 GET /movies/_search?q=title:2012 { "profile": true } #Term or phrase # "beautiful mind" 等价于 beautiful AND mind, 还要求前后顺序保持一致 # beautiful mind 等价于 beautiful OR mind # 使用引号,短语查询 GET /movies/_search?q=title:"beautiful mind" { "profile": true } # 分组查询 GET /movies/_search?q=title:(beautiful mind) { "profile": true } # 错误使用分组,mind 为泛查询 GET /movies/_search?q=title:beautiful mind { "profile": true } # 逻辑运算 GET /movies/_search?q=title:(beautiful AND mind) { "profile": true } GET