logo
  • 教程列表
  • SO官方文檔
  • 搜尋 API
    • 使用請求正文搜尋
    • 多搜尋
    • 路由
    • URI 搜尋和突出顯示
  1. StackOverflow 文件
  2. Elasticsearch 教程
  3. 搜尋 API
  4. 使用請求正文搜尋

使用請求正文搜尋

Created: November-22, 2018

也可以使用搜尋 DSL 在 elasticsearch 上進行搜尋。搜尋請求體內的查詢元素允許使用查詢 DSL 定義查詢。

GET /my_index/type/_search
{
    "query" : {
        "term" : { "field_to_search" : "search_item" }
    }
}
  • 多搜尋
  • 搜尋 API

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明