title: Django Haystack + Solr : To get non redundant results in a query
body: <p>This may be a very basic question. But still any links / solution will be helpful.</p>
  
  <p>The indexes looks like this, for model 'Amodel'</p>
  
  <pre><code>id        name               user
  1      Some name              u1
  2      Some name              u2
  3      Some name              u3
  4      Not some name          u1
  5      Not some name          u4
  6      name 1                 u5
  7      name 2                 u1
  8      name 3                 u3
  9      name 4                 u1
  </code></pre>
  
  <p>The query to get the values 'name' filed</p>
  
  <pre><code>SearchQuerySet().models(Amodel).filter(name = 'name').values_list('name')[0:5]
  </code></pre>
  
  <p>This will of course give the redundant results</p>
  
  <pre><code>['Some name', 'Some name', 'Some name', 'Not some name', 'Not some name']
  </code></pre>
  
  <p>But how can I get unique results like this</p>
  
  <pre><code>['Some name', 'Not some name', 'name 1', 'name 2', 'name 3']
  </code></pre>