<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>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # Delete an Index(刪除索引) 原文鏈接 : [https://www.elastic.co/guide/en/elasticsearch/reference/5.4/_delete_an_index.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/_delete_an_index.html) 譯文鏈接 : [http://www.apache.wiki/pages/viewpage.action?pageId=4260704](http://www.apache.wiki/pages/viewpage.action?pageId=4260704) 貢獻者 : [那伊抹微笑](/display/~wangyangting),[ApacheCN](/display/~apachecn),[Apache中文網](/display/~apachechina) 現在讓我們刪除我們剛才創建的索引并且再次列出所有索引 :? ``` curl -XDELETE 'localhost:9200/customer?pretty&pretty' curl -XGET 'localhost:9200/_cat/indices?v&pretty' ``` 響應如下 :? ``` health status index uuid pri rep docs.count docs.deleted store.size pri.store.size ``` 這意味著索引被成功的刪除,并且我們現在又回到了集群中什么都沒有的時候了。 在我們繼續之前,讓我們仔細的看一看一些我們迄今為止學習的 **API** 命令 :? ``` curl -XPUT 'localhost:9200/customer?pretty' curl -XPUT 'localhost:9200/customer/external/1?pretty' -d' { "name": "John Doe" }' curl -XGET 'localhost:9200/customer/external/1?pretty' curl -XDELETE 'localhost:9200/customer?pretty' ``` 如果我們仔細的研究上面的命令,我們可以清楚的看到,我們如何訪問 **Elasticsearch** 中的數據的 **pattern**(模式)。該 **pattern**(模式)可以概括如下 :? ``` <REST Verb> /<Index>/<Type>/<ID> ``` 在所有的 **API** 命令中這個 **REST** 訪問模式是很常見的,如果您可以簡單的記住它,在掌握 **Elasticsearch** 時您會有一個良好的開端。
                  <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>

                              哎呀哎呀视频在线观看