title: Elastic Search "and" operator with multiple values
body: <p>I am using  elastic  search 2.2 version and using the following query DSL:</p>
  
  <pre><code>{
    "query": {
      "match": {
        "product": {
          "query": "Razor 2004",
          "operator": "and"
        }
      }
    }
  }
  </code></pre>
  
  <p>The output of the following query will be able to pickup all the product which has Razor and 2004 in it .
  So for example the following search string result would be valid:</p>
  
  <pre><code>"I am using Razor built in  2004"
  "Razor 2004 is great"
  </code></pre>
  
  <p>but the following search string result would be invalid </p>
  
  <pre><code>"I am using Razor built in  2005"
  "Razor is great"
  </code></pre>
  
  <p>The query works well for one search input but how can i modify the query for multiple values like</p>
  
  <pre><code>{
        "query": {
          "match": {
            "product": {
              "query": "Razor 2004","Shave 2015"
              "operator": "and"
            }
          }
        }
      }
  </code></pre>
  
  <p>Now i am looking for strings where either "Razor" and "2004" is present or Shave "and" 2015 in a string.
  I tried the  bool query but could not get the "and" like search to work.My bool  query looks like this :</p>
  
  <pre><code>{
            "query": {
                "query": {
                    "bool": {
                        "should": [
                            {
                                "match": {
                                    "product": "Razor 2004"
                                }
                            },
                            {
                                "match": {
                                    "product": "Shave 2015"
                                }
                            }
                        ]
                    }
                }
            }
        }
  </code></pre>
  
  <p>Is there any way to provide a "and" like search in a string with multiple IN Values?</p>