anchor.diff:  }'
   --------------------------------------------------
   
  -Let's now introduce the http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html[`bool`(ean) query]. The `bool` query allows us to compose smaller queries into bigger queries using boolean logic.
  +Let's now introduce the <<query-dsl-bool-query,`bool`(ean) query>>. The `bool` query allows us to compose smaller queries into bigger queries using boolean logic.
   
   This example composes two `match` queries and returns all accounts containing "mill" and "lane" in the address:
   
  
positive.code: }'
  --------------------------------------------------
  
  Updates can also be performed by using simple scripts. This example uses a script to increment the age by 5:
  
  [source,sh]
  --------------------------------------------------
  
negative.code: 
  === The Search API
  
  Now let's start with some simple searches. There are two basic ways to run searches: one is by sending search parameters through the <<search-uri-request,REST request URI>> and the other by sending them through the<<search-request-body,[REST request body>>. The request body method allows you to be more expressive and also to define your searches in a more readable JSON format. We'll try one example of the request URI method but for the remainder of this tutorial, we will exclusively be using the request body method.
  
  The REST API for search is accessible from the `_search` endpoint. This example returns all documents in the bank index:
  
  