anchor.diff:  '
   --------------------------------------------------
   
  -This example updates the first document (ID of 1) and then deletes the second document (ID of 2) in one bulk operation:
  +下面的示例中, 在一个批量操作中更新了第一个文档(ID为1), 接着删除了第二个文档(ID为2):
   
   [source,sh]
   --------------------------------------------------
  
positive.code:       "_id" : "13",
  --------------------------------------------------
  
  It is important to understand that once you get your search results back, Elasticsearch is completely done with the request and does not maintain any kind of server-side resources or open cursors into your results. This is in stark contrast to many other platforms such as SQL wherein you may initially get a partial subset of your query results up-front and then you have to continuously go back to the server if you want to fetch (or page through) the rest of the results using some kind of stateful server-side cursor.
  
  === Introducing the Query Language
  
  Elasticsearch provides a JSON-style domain-specific language that you can use to execute queries. This is referred to as the <<query-dsl,Query DSL>>. The query language is quite comprehensive and can be intimidating at first glance but the best way to actually learn it is to start with a few basic examples.
  
  Going back to our last example, we executed this query:
  
  [source,sh]
  --------------------------------------------------
  
negative.code: }
  --------------------------------------------------
  
  从上面我们可以看到, 在customer索引和external类型内部已经成功创建了一个新的customer文档, 该文档还有我们在索引时指定的一个值为1的内部ID.
  
  需要注意的是Elasticsearch并没有要求你在可以索引文档之前必须先要显示地创建一个索引. 在前面示例中, 如果customer索引事先不存在, Elasticsearch会自动创建它.
  
  现在我们来检索一下我们刚索引过的文档:
  
  [source,sh]
  --------------------------------------------------
  curl -XGET 'localhost:9200/customer/external/1?pretty'
  --------------------------------------------------
  
  其返回结果如下:
  
  [source,sh]
  --------------------------------------------------
  