<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                [TOC] # 簡介 為了能更快的同時檢索多個文檔 mget API參數是一個docs數組,數組的每個節點定義一個文檔的`_index,_type,_id`元數據 例子 ![](https://box.kancloud.cn/41839d4c12dffeb6fba4db164847ca88_304x474.png) 我們先創建出一些數據,然后我們看下 ~~~ GET /library/books/1 GET /library/books/2 GET /library/books/3 GET /shakespeare/line/1 GET /shakespeare/line/2 GET /shakespeare/line/3 ~~~ # 一起獲取下 ~~~ # 數組[] GET /_mget { "docs": [ { "_index": "library", "_type": "books", "_id": 1 }, { "_index": "library", "_type": "books", "_id": 2 }, { "_index": "library", "_type": "books", "_id": 3 }, { "_index": "shakespeare", "_type": "line", "_id": 1 }, { "_index": "shakespeare", "_type": "line", "_id": 2 }, { "_index": "shakespeare", "_type": "line", "_id": 3 } ] } ~~~ # 可以指定你想獲取的字段 ~~~ # 也可以指定_source字段,獲取你想要的 GET /_mget { "docs": [ { "_index": "library", "_type": "books", "_id": 1, "_source": "title" }, { "_index": "library", "_type": "books", "_id": 2, "_source": "name" }, { "_index": "library", "_type": "books", "_id": 3, "_source": "price" }, { "_index": "shakespeare", "_type": "line", "_id": 1, "_source": "name" }, { "_index": "shakespeare", "_type": "line", "_id": 2, "_source": ["name","password"] }, { "_index": "shakespeare", "_type": "line", "_id": 3, "_source": "password" } ] } ~~~ # 獲取相同index相同type下不同ID的文檔 ~~~ GET /library/books/_mget { "docs": [ {"_id": 1}, {"type":"books","_id":3} ] } ~~~ # 可以這樣簡便的寫 ~~~ GET /library/books/_mget { "ids": ["1", "3"] } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看