title: ElasticSearch - Use function score query field value factor with match query
body: <p>I want to use the example on official documents combined with normal match and boolean queries. How to do that?</p>
  
  <pre><code>GET /_search
  {
      "query": {
          "function_score": {
              "field_value_factor": {
                  "field": "likes",
                  "factor": 1.2,
                  "modifier": "sqrt",
                  "missing": 1
              }
          }
      }
  }
  </code></pre>
  
  <p><a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-field-value-factor" rel="nofollow noreferrer">https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-field-value-factor</a></p>
  
  <p>Match query:</p>
  
  <pre><code>    "query": {
          "match" : {
              "name" : "star wars"
          }
      }
  </code></pre>
  
  <p>Boolean query:</p>
  
  <pre><code>{
  "query": {
      "bool": {
      "must": [
          {
          "match": {
              "name": "Star Wars"
          }
          }
      ],
      "should": [
          {
          "term": {
              "name.keyword": {
              "value": "Star Wars"
              }
          }
          }
      ]
      }
  }
  }
  </code></pre>