title: How to specify ElasticSearch copy_to order?
body: <p>ElasticSearch has the ability to copy values to other fields (at index time), enabling you to search on multiple fields as if it were one field (<a href="http://www.elastic.co/guide/en/elasticsearch/reference/1.4/mapping-core-types.html">Core Types: copy_to</a>). </p>
  
  <p>However, there doesn't seem to be any way to specify the order in which these values should be copied. This could be important when phrase matching:</p>
  
  <pre><code>curl -XDELETE 'http://10.11.12.13:9200/helloworld'
  curl -XPUT 'http://10.11.12.13:9200/helloworld'
  # copy_to is ordered alphabetically!
  curl -XPUT 'http://10.11.12.13:9200/helloworld/_mapping/people' -d '
  {
    "people": {
      "properties": {
        "last_name": {
          "type": "string",
          "copy_to": "full_name"
        },
        "first_name": {
          "type": "string",
          "copy_to": "full_name"
        },
        "state": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "full_name": {
          "type": "string"
        }
      }
    }
  }
  '
  
  curl -X POST "10.11.12.13:9200/helloworld/people/dork" -d '{"first_name": "Jim", "last_name": "Bob", "state": "California", "city": "San Jose"}'
  curl -X POST "10.11.12.13:9200/helloworld/people/face" -d '{"first_name": "Bob", "last_name": "Jim", "state": "California", "city": "San Jose"}'
  
  
  curl "http://10.11.12.13:9200/helloworld/people/_search" -d '
  {
    "query": {
      "match_phrase": {
        "full_name": {
          "query":    "Jim Bob"
        }
      }
    }
  }
  '
  </code></pre>
  
  <p>Only "Jim Bob" is returned; it seems that the fields are copied in field-name alphabetical order.</p>
  
  <p>How would I switch the <strong>copy_to</strong> order such that the "Bob Jim" person would be returned?</p>