title: How to boost repeated values in a multiValue field on Solr
body: <p>I have some repeated (same strings) data in a <strong>multiValue</strong> field on my solr index and i want to boost documents by matches count in that field. For example:</p>
  
  <pre><code>doc1 : { locales : ['en_US', 'de_DE', 'fr_FR', 'en_US'] }
  doc2 : { locales : ['en_US'] }
  </code></pre>
  
  <p>When i run the query <code>q=locales:en_US</code> i would like to see the doc1 at the top because it has two "en_US" values. What is the proper way to boost this kind of data?</p>
  
  <p>Should i use a special tokenizer?</p>
  
  <blockquote>
    <p>Solr version is: 4.5</p>
  </blockquote>