title: Configure fields for considering duplicates
body: <p>Consider a Solr index with the following fields:</p>
  
  <pre><code>&lt;fields&gt;
      &lt;field name="id" type="uuid" indexed="true" stored="true" default="0"/&gt;
      &lt;field name="user" stored="true" type="string" multiValued="false" indexed="true"/&gt;
      &lt;field name="text" stored="true" type="textmulti" multiValued="false" indexed="true"/&gt;
      &lt;field name="media" stored="true" type="string" multiValued="false" indexed="true"/&gt;
  &lt;/fields&gt;
  </code></pre>
  
  <p>I would consider a newly indexed Document to be a dupe (and therefore to be rejected) if there exists a current document that has identical <code>user</code> and <code>text</code> fields, no matter what the <code>id</code> or <code>media</code> fields' content are. Documents that have matching <code>user</code> <strong>or</strong> <code>text</code> is not enough to be considered a dupe, it must be <strong>both</strong> <code>user</code> <strong>and</strong> <code>text</code>.</p>
  
  <p>I have read through <a href="http://wiki.apache.org/solr/Deduplication" rel="nofollow">Document Duplication Detection</a> and <a href="http://wiki.apache.org/solr/UpdateXmlMessages" rel="nofollow">XML Messages for Updating a Solr Index</a> on the Solr wiki but I still do not see how to configure this. Any ideas? I am using the wonderful <a href="http://code.google.com/p/solr-php-client/" rel="nofollow">solr-php-client</a> to connect to Solr via PHP.</p>
  
  <p>Thanks.</p>